Part Number Hot Search : 
NDB610AE PC451C SM220 150KS30A 1N5817 L78S10C 50150 11400
Product Description
Full Text Search
 

To Download TMP19A64F20AXBG Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  32 bit tx system risc tx19a family TMP19A64F20AXBG rev1.1 2007.march.16
TMP19A64F20AXBG tmp19a64(rev1.1)-1 contents TMP19A64F20AXBG 1. ? overview and features 2. ? pin layout and pin functions 3. ? flash memory operation 4. ? electrical characteristics
TMP19A64F20AXBG tmp19a64(rev1.0)1-1 32-bit risc microprocessor - tx19 family TMP19A64F20AXBG 1. overview and features the tx19 family is a high-performance 32-bit risc pro cessor series that toshiba originally developed by integrating the mips16 tm ase (application specific extension), which is an extended instruction set of high code efficiency. tmp19a64 is a 32-bit risc microprocessor with a tx19a processor core and various peripheral functions integrated into one package. it can operate at low voltage with low power consumption. features of tmp19a64 are as follows: (1) tx19a processor core 1) improved code efficiency and operating performance have been realized through the use of two isa (instruction set architecture) modes - 16- and 32-bit isa modes. ? the 16-bit isa mode instructions are compatible with the mips16 tm ase instructions of superior code efficiency at the object level. ? the 32-bit isa mode instructions are compatible w ith the tx39 instructions of superior operating performance at the object level. 2) both high performance and low power consumption have been achieved. z high performance restrictions on product use 070122ebp ? the information contained herein is s ubject to change without notice. 021023_d ? toshiba is continually working to improve the quality and re liability of its products. nevertheless, semiconductor devices in general can malfunction or fail due to their inherent electrical sensitivity and vulner ability to physical stress. it is the re sponsibility of the buyer, when utilizing toshiba products, to comply with th e standards of safety in making a safe design for the entire system, and to avoid situations in which a malfunction or failu re of such toshiba products could cause loss of human life, bodily injury or damage to property. in developing your designs, please ensure that toshiba products are used within specified operating ranges as set forth in the most recent toshiba products specifications. also, please keep in mind the precautions and conditions set forth in the ?handling guide for semiconductor devices,? or ?tos hiba semiconductor reliability handbook? etc. 021023_a ? the toshiba products listed in this document are intended for usage in general electronics appl ications (computer, personal equipment, office equipment, meas uring equipment, industrial robotics, domestic appliances, etc.). these toshiba products are neither intended nor warranted for usage in equipment that requires extraordinarily high quality and/or reliability or a malfunction or failure of which may cause loss of human life or bodily injury (?unintended usage?). unintended usage include atomic energy control instruments, airplane or spaceship instru ments, transportation instruments, traffic signal instruments, combustion control instruments, medical instruments, all types of safety devices, etc. unintended usage of toshiba products listed in this document shall be made at the customer?s own risk. 021023_b ? the products described in this document shall not be used or embedded to any downstream products of which manufacture, use and/or sale are prohibited under any applicable laws and regulations. 060106_q ? the information contained herein is presented only as a guide for the applications of our products. no responsibility is assum ed by toshiba for any infringements of patents or other rights of th e third parties which may result from its use. no license is granted by implication or otherwise under any patents or other rights of toshiba or the third parties. 070122_c ? the products described in this document are subjec t to foreign exchange and foreign trade control laws. 060925_e ? for a discussion of how the reliability of microcontrollers c an be predicted, please refer to section 1.3 of the chapter entit led quality and reliability assurance/handling precautions. 030619_s
TMP19A64F20AXBG tmp19a64(rev1.0)1-2 ? almost all instructions can be executed with one clock. ? high performance is possible via a th ree-operand operation instruction. ? 5-stage pipeline ? built-in high-speed memory ? dsp function: a 32-bit multiplication and accumulation operation can be executed with one clock. z low power consumption ? optimized design using a low power consumption library ? standby function that stops the op eration of the processor core 3) high-speed interrupt response suitable for real-time control ? independency of the entry address ? automatic generation of factor -specific vector addresses ? automatic update of interrupt mask levels (2) on chip program memory and data memory product name on chip rom on chip ram TMP19A64F20AXBG 2 mbytes (flash) 64 kbytes tmp19a64c1dxbg 1.5 mbytes 56 kbytes ? rom correction function: 1 word 8 blocks, 8 words 4 blocks ? backup ram: 512 bytes (3) external memory expansion ? 16-mbyte off-chip address for code and date ? external data bus: separate bus/multiplexed bus : dynamic bus sizing for 8- and 16-bit widths ports. ? chip select/wait controller : 6 channels (4) dma controller : 8 channels ? data to be transferred to internal memory, in ternal i/o, external memory, and external i/o (5) 16-bit timer : 11 channels ? 16-bit interval timer mode ? 16-bit event counter mode ? 16-bit ppg output ? event capture function ? 2-phase pulse input counter function (1 channel assigned to perform this function): multiplication-by-4 mode (6) 32-bit timer ? 32-bit input capture register : 4 channels ? 32-bit compare register : 10 channels ? 32-bit time base timer : 1 channel (7) clock timer : 1 channel (8) general-purpose serial interface: 7 channels ? either uart mode or synchronous mode can be selected. (9) serial bus interface : 1 channel ? either i 2 c bus mode or clock synchronous mode can be selected
TMP19A64F20AXBG tmp19a64(rev1.0)1-3 (10) 10-bit a/d converter with (s/h) : 24 channels ? conversion speed: 54 clocks (7.85 s@54 mhz) ? start by an internal timer trigger ? fixed channel/scan mode ? single/repeat mode ? high-priority conversion mode ? timer monitor function (11) watchdog timer : 1 channel (12) interrupt source ? cpu: 2 factors ............. software interrupt instruction ? internal: 50 factors....... the order of precedence can be set over 7 levels (except the watchdog timer interrupt). ? external: 20 factors...... the order of precedence can be set over 7 levels (except the nmi interrupt). because 8 factors are associated w ith kwup, the number of interrupt factors is one. (13) 209 pins input/output ports (14) standby mode ? 4 standby modes (idle, sleep, stop and backup) (15) clock generator ? on-chip pll (multiplication by 4) ? clock gear function: the high-speed clock can be divided into 8/8, 7/8, 6/8, 5/8, 4/8, 2/8 or 1/8. ? sub-clock: slow, sleep and backup modes (32.768 khz) (16) endian: bi-endian (big-endian/little-endian) (17) maximum operating frequency ? 54 mhz (pll multiplication) (18) operating voltage range core: 1.35 v to 1.65 v i/o: 1.65 v to 3.3 v adc: 2.7 v to 3.3 v backup block : 2.3 v to 3.3 v (under normal operating conditions) : 1.8 v to 3.3 v (in backup mode) (19) package ? p-fbga281 (13 mm 13 mm, 0.65 mm pitch)
TMP19A64F20AXBG tmp19a64(rev1.0)1-4 tx19 processor core tx19a cpu mac ejtag 2-mbyte flash 64-kbyte ram rom correction dmac ( 8ch ) cg intc ebif i/o bus i/f 16-bit tmrb 0 to a ( 11ch ) 32-bit tmrc tbt (1ch) 32-bit tmrc input capture 0 to 3 ( 4ch ) 32-bit tmrc compare 0 to 9 ( 10ch ) 10-bit adc (24ch) sio/uart 0 to 6 ( 7ch ) i2c/sio ( 1ch ) port0 to port6 (also function as external bus i/f) wdt kwup 0 to 7 (8ch) port7 to port9 (also function to receive adc inputs) porta to portk, porto (also function as functional pins) portl to portn portp to portq (general-purpose ports) backup block clock timer (1ch) backup ram (512 bytes) fig. 1-1 TMP19A64F20AXBG block diagram
TMP19A64F20AXBG tmp19a64(rev1.1)2-1 2. pin layout and pin functions 2.1 pin layout fig. 2.1.1 shows the pin layout of tmp19a64. fig. 2.1.1 pin layout diagram (p-fbga281) a 1 a 2 a 3 a 4 a 5 a 6 a 7 a 8 a 9 a 10 a 11 a 12 a 13 a 14 a 15 a 16 a 17 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15 b16 b17 b18 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11 e12 e13 e14 e15 e16 e17 e18 f1 f2 f3 f4 f5 f7 f8 f9 f10 f11 f12 f14 f15 f16 f17 f18 g1 g2 g3 g4 g5 g6 g13 g14 g15 g16 g17 g18 h1 h2 h3 h4 h5 h6 h13 h14 h15 h16 h17 h18 j1 j2 j3 j4 j5 j6 j13 j14 j15 j16 j17 j18 k1 k2 k3 k4 k5 k6 k13 k14 k15 k16 k17 k18 l1 l2 l3 l4 l5 l6 l13 l14 l15 l16 l17 l18 m1 m2 m3 m4 m5 m6 m13 m14 m15 m16 m17 m18 n1 n2 n3 n4 n5 n7 n8 n9 n10 n11 n12 n14 n15 n16 n17 n18 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 t18 u1 u2 u3 u4 u5 u6 u7 u8 u9 u10 u11 u12 u13 u14 u15 u16 u17 u18 v2 v3 v4 v5 v6 v7 v8 v9 v10 v11 v12 v13 v14 v15 v16 v17 table 2.1.2 shows the pin numbers and names of tmp19a64. table 2.1.2 pin numbers and names (1 of 2) pin no. pin name pin no. pin name pin no. pin name pin no. pin name pin no. pin name a1 n.c. a13 pn2 b8 p75/an5 c2 pcst3 (ejtag) c14 pm7 a2 vrefl a14 pn0 b9 pl0 c3 p92/an18 c15 pm3 a3 p90/an16 a15 pm5 b10 pl3 c4 p95/an21 c16 pk3/key3 a4 p93/an19 a16 pm1 b11 po5/txd6 c5 p82/an10 c17 cvcc15 a5 p80/an8 a17 x2 b12 po1/int1 c6 p85/an13 c18 xt2 a6 p83/an11 b1 avcc31 b13 pn3 c7 p72/an2 d1 tdo (ejtag) a7 p70/an0 b2 vrefh b14 pn1 c8 avss d2 pcst2 (ejtag) a8 p74/an4 b3 p91/an17 b15 pm4 c9 pl1 d3 dint (ejtag) a9 po7/sclk6/cts6 b4 p94/an20 b16 pm0 c10 pl4 d4 dvcc15 a10 pl2 b5 p81/an9 b17 cvss/bvss c11 po4/int4 d5 p96/an22 a11 po6/rxd6 b6 p84/an12 b18 x1 c12 pn6 d6 p86/an14 a12 po0/int0 b7 p71/an1 c1 pcst0 (ejtag) c13 pn4 d7 p73/an3
TMP19A64F20AXBG tmp19a64(rev1.1)2-2 table 2.1.1 pin numbers and names (2 of 2) pin no. pin name pin no. pin name pin no. pin name pin no. pin name pin no. pin name d8 dvcc15 f18 p46/scout k14 pi1/int1 n18 p14/d12/ad12/a12 t8 pd4/txd4 d9 dvss g1 reset k15 pi3/int3 p1 pe4 t9 pc0/txd0 d10 pl5 g2 tdi (ejtag) k16 pi4/int4 p2 pa2/tb0out t10 pc3/txd1 d11 po3/int3 g3 fvcc15 k17 dvcc30 p3 pa3/tb1in0/int7 t11 ph4/tcout8 d12 pn7 g4 dvss k18 pi2/int2 p4 pa4/tb1in1/int8 t12 ph6 d13 pn5 g5 tovr/tsta (ejtag) l1 fvcc3 p5 pa5/tb1out t13 p53/a3 d14 pm2 g6 bw0 l2 pq1/tpd1/tpc1 (ejtag) p6 pb6/tbain0 t14 p61/a9 d15 dvcc34 g13 pk7/key7 l3 pq2/tpd2/tpc2 (ejtag) p7 pg2/tc2in t15 p21/a17/a1/a17 d16 pk2/key2 g14 breset l4 pq3/tpd3/tpc3 (ejtag) p8 pd6/sclk4/cts4 t16 p23/a19/a3/a19 d17 pk4/key4 g15 p41/cs1 l5 pe6/inta p9 pc2/sclk0/cts0 t17 p00/d0/ad0 d18 xt1 g16 p37/ale l6 pe7/intb p10 pc5/sclk1/cts1 t18 p01/d1/ad1 e1 dclk (ejtag) g17 p35/busak l13 p13/ d11/ad11/a11 p11 p52/a2 u1 pb4/tb8out e2 pcst1 (ejtag) g18 fvcc15 l14 p17/d 15/ad15/a15 p12 p62/a10 u2 pb3/tb7out e3 trst (ejtag) h1 nmi l15 fv cc15 p13 p65/a13 u3 pb7/tbain1 e4 pcst4 (ejtag) h2 dvcc31 l16 pi0/int0 p14 p26/a22/a6/a22 u4 pf1/si/scl e5 endian h3 pp7/tpd7 (ejtag) l17 p 45/cs5 p15 p02/d2/ad2 u5 pf5/dreq3 e6 p97/an23 h4 bw1 l18 pj3/dack3 p16 p10/d8/ad8/a8 u6 pg1/tc1in e7 p87/an15 h5 plloff m1 pq0/tpd0/tpc0 (ejtag) p17 p12/d10/ad10/a10 u7 pd2/rxd3 e8 p76/an6 h6 tck (ejtag) m2 pq7/tpd7/tpc7 (ejtag) p18 p11/d9/ad9/a9 u8 dvcc32 e9 p77/an7 h13 test1 m3 pq4/tpd4/tpc4 (ejtag) r1 pa0/tb0in0/int5 u9 pc7/rxd2 e10 pl6 h14 p31/wr m4 pe3 r2 pa1/tb0in1/int6 u10 ph1/tcout5 e11 pl7 h15 p32/hwr m5 pa7/tb3out r3 pf3/dreq2 u11 ph5/tcout9 e12 pm6 h16 p33/wait/rdy m6 dvcc32 r4 pf4/dack2 u12 p50/a0 e13 pk6/key6 h17 p30/rd m13 p06/ d6/ad6 r5 pf7/tbtin u13 p55/a5 e14 pk5/key5 h18 p40/cs0 m14 p07/ d7/ad7 r6 pg7/tcout3 u14 dvcc33 e15 bvcc j1 pp2/tpd2 (ejtag) m15 dvss r7 pg4/tcout0 u15 p64/a12 e16 pk1/key1 j2 pp3/tpd3 (ejtag) m16 pj0/ dreq2 r8 pd5/rxd4 u16 p20/a16/a0/a16 e17 pk0/key0 j3 pp4/tpd4 (ejtag) m17 pj2/ dreq3 r9 pc1/rxd0 u17 p24/a20/a4/a20 e18 dvcc15 j4 pp5/tpd5 (ejtag) m18 pj1/dack2 r10 pc4/rxd1 u18 fvcc3 f1 dvss j5 pp6/tpd6 (ejtag) n1 pe5 r11 ph3/tcout7 v2 pb5/tb9out f2 tms (ejtag) j6 fvcc15 n2 pe0/ txd5 r12 p51/a1 v3 pg0/tc0in f3 eje (ejtag) j13 dvss n3 pe2/sclk5/cts5 r13 p57/a7 v4 pf0/so/sda f4 busmd j14 p47 n4 pe1/rxd5 r14 p66/a14 v5 pg3/tc3in f5 boot j15 n.c. n5 pa6/tb2out r15 p25/a21/a5/a21 v6 pg6/tcout2 f7 avss j16 p44/cs4 n7 dvss r16 p03/d3/ad3 v7 pd1/txd3 f8 avss j17 p36/ r/w n8 pd7/int9 r17 p04/d4/ad4 v8 pd0/sclk2/cts2 f9 avcc32 j18 p34/busrq n9 dvcc15 r18 p05/d5/ad5 v9 pc6/txd2 f10 dvcc34 k1 pp0/tpd0 (ejtag) n10 dvss t1 pb0/tb4out v10 ph2/tcout6 f11 po2/int2 k2 pp1/tpd1 (ejtag) n11 p 56/a6 t2 pb1/tb5out v11 ph0/tcout4 f12 dvss k3 pq5/tpd5/tpc5 (ejtag) n12 dvss t3 pb2/tb6out v12 ph7 f14 bupmd k4 pq6/tpd6/tpc6 (ejtag) n14 p27/a23/a7/a23 t4 pf2/sck v13 p54/a4 f15 p42/cs2 k5 dvss n15 p15/d13/ad13/a13 t5 pf6/dack3 v14 p60/a8 f16 p43/cs3 k6 dvss n16 test3 t6 pg5/tcout1 v15 p63/a11 f17 dvcc33 k13 test2 n17 p16/d14/ad14/ a14 t7 pd3/sclk3/cts3 v16 p67/a15 v17 p22/a18/a2/a18
TMP19A64F20AXBG tmp19a64(rev1.1)2-3 2.2 pin names and functions table 2.2.1 shows the names and functions of input/output pins. table 2.2.1 pin names and functions (1 of 6) pin name number of pins input or output function p00-p07 d0-d7 ad0-ad7 8 input/output input/output input/output port 0: input/output port that allows input/output to be set in units of bits data (lower): data buses 0 to 7 (separate bus mode) address data (lower): address data buses 0 to 7 (multiplexed bus mode) p10-p17 d8-d15 ad8-ad15 a8-a15 8 input/output input/output input/output output port 1: input/output port that allows input/output to be set in units of bits data (upper): data buses 8 to 15 (separate bus mode) address data (upper): address data buses 8 to 15 (multiplexed bus mode) address: address buses 8 to 15 (multiplexed bus mode) p20-p27 a16-a23 a0-a7 a16-a23 8 input/output output output output port 2: input/output port that allows input/output to be set in units of bits address: address buses 16 to 23 (separate bus mode) address: address buses 0 to 7 (multiplexed bus mode) address: address buses 16 to 23 (multiplexed bus mode) p30 rd 1 output output port 30: port used exclusively for output read: strobe signal for reading external memory p31 wr 1 output output port 31: port used exclusively for output write: strobe signal for writing data of d0 to d7 pins p32 hwr 1 input/output output port 32: input/output port (with pull-up) write upper-pin data: strobe signal for writing data of d8 to d15 pins p33 wait rdy 1 input/output input input port 33: input/output port (with pull-up) wait: pin for requesting cpu to put a bus in a wait state ready: pin for notifying cpu that a bus is ready p34 busrq 1 input/output input port 34: input/output port (with pull-up) bus request: signal requesting cpu to allow an exte rnal master to take the bus control authority p35 busak 1 input/output output port 35: input/output port (with pull-up) bus acknowledge: signal notifying that cpu has rel eased the bus control authority in response to busrq p36 r/w 1 input/output output port 36: input/output port (with pull-up) read/write: "1" shows a read cycle or a dummy cycle. "0" shows a write cycle. p37 ale 1 input/output output port 37: input/output port address latch enable (address latch is enabled only if access to external memory is taking place) p40 cs0 1 input/output output port 40: input/output port (with pull-up) chip select 0: "0" is output if the address is in a designated address area. p41 cs1 1 input/output output port 41: input/output port (with pull-up) chip select 1: "0" is output if the address is in a designated address area. p42 cs2 1 input/output output port 42: input/output port (with pull-up) chip select 2: "0" is output if the address is in a designated address area. p43 cs3 1 input/output output port 43: input/output port (with pull-up) chip select 3: "0" is output if the address is in a designated address area. p44 cs4 1 input/output output port 44: input/output port (with pull-up) chip select 4: "0" is output if the address is in a designated address area. p45 cs5 1 input/output output port 45: input/output port (with pull-up) chip select 5: "0" is output if the address is in a designated address area. p46 scout 1 input/output output port 46: input/output port system clock output: selectable between high- a nd low-speed clock outputs, as in the case of cpu p47 1 input/output port 47: input/output port p50-p57 a0-a7 8 input/output output port 5: input/output port that allows input/output to be set in units of bits address: address buses 0 to 7 (separate bus mode) p60-p67 a8-a15 8 input/output output port 6: input/output port that allows input/output to be set in units of bits address: address buses 8 to 15 (separate bus mode)
TMP19A64F20AXBG tmp19a64(rev1.1)2-4 table 2.2.1 pin names and functions (2 of 6) pin name number of pins input or output function p70-p77 an0-an7 8 input input port 7: port used exclusively for input analog input: input from a/d converter p80-p87 an8-an15 8 input input port 8: port used exclusively for input analog input: input from a/d converter p90-p97 an16-an23 8 input input port 9: port used exclusively for input analog input: input from a/d converter pa0 tb0in0 int5 1 input/output input input port a0: input/output port 16-bit timer 0 input 0: for inputting the c ount/capture trigger of a 16-bit timer 0 interrupt request pin 5: selectable between "h" level, "l" level, risi ng edge, and falling edge input pin with schmitt trigger pa1 tb0in1 int6 1 input/output input input port a1: input/output port 16-bit timer 0 input 1: for inputting the c ount/capture trigger of a 16-bit timer 0 interrupt request pin 6: selectable "h" leve l, "l" level, rising edge and falling edge input pin with schmitt trigger pa2 tb0out 1 input/output output port a2: input/output port 16-bit timer 0 output: 16-bit timer 0 output pin pa3 tb1in0 int7 1 input/output input input port a3: input/output port 16-bit timer 1 input 0: for inputting the c ount/capture trigger of a 16-bit timer 1 interrupt request pin 7: selectable between "h" level, "l" level, risi ng edge and falling edge input pin with schmitt trigger pa4 tb1in1 int8 1 input/output input input port a4: input/output port 16-bit timer 1 input 1: for inputting the c ount/capture trigger of a 16-bit timer 1 interrupt request pin 8: selectable between "h" level, "l" level, risi ng edge and falling edge input pin with schmitt trigger pa5 tb1out 1 input/output output port a5: input/output port 16-bit timer 1 output: 16-bit timer 1 output pin pa6 tb2out 1 input/output output port a6: input/output port 16-bit timer 2 output: 16-bit timer 2 output pin pa7 tb3out 1 input/output output port a7: input/output port 16-bit timer 3 output: 16-bit timer 3 output pin pb0 tb4out 1 input/output output port b0: input/output port 16-bit timer 4 output: 16-bit timer 4 output pin pb1 tb5out 1 input/output output port b1: input/output port 16-bit timer 5 output: 16-bit timer 5 output pin pb2 tb6out 1 input/output output port b2: input/output port 16-bit timer 6 output: 16-bit timer 6 output pin pb3 tb7out 1 input/output output port b3: input/output port 16-bit timer 7 output: 16-bit timer 7 output pin pb4 tb8out 1 input/output output port b4: input/output port 16-bit timer 8 output: 16-bit timer 8 output pin pb5 tb9out 1 input/output output port b5: input/output port 16-bit timer 9 output: 16-bit timer 9 output pin pb6 tbain0 1 input/output input port b6: input/output port 16-bit timer a input 0: for inputting the c ount/capture trigger of a 16-bit timer a 2-phase pulse counter input 0 pb7 tbain1 1 input/output input port b7: input/output port 16-bit timer a input 1: for inputting the c ount/capture trigger of a 16-bit timer a 2-phase pulse counter input 1
TMP19A64F20AXBG tmp19a64(rev1.1)2-5 table 2.2.1 pin names and functions (3 of 6) pin name number of pins input or output function pc0 txd0 1 input/output output port c0: input/output port sending serial data 0: open drain out put pin depending on the program used pc1 rxd0 1 input/output input port c1: input/output port receiving serial data 0 pc2 sclk0 cts0 1 input/output input/output input port c2: input/output port serial clock input/output 0 ready to send serial data 0 (clear to send): open drain output pin depending on the program used pc3 txd1 1 input/output output port c3: input/output port sending serial data 1: open drain out put pin depending on the program used pc4 rxd1 1 input/output input port c4: input/output port receiving serial data 1 pc5 sclk1 cts1 1 input/output input/output input port c5: input/output port serial clock input/output 1 ready to send serial data 1 (clear to send): open drain output pin depending on the program used pc6 txd2 1 input/output output port c6: input/output port sending serial data 2: open drain out put pin depending on the program used pc7 rxd2 1 input/output input port c7: input/output port receiving serial data 2 pd0 sclk2 cts2 1 input/output input/output input port d0: input/output port serial clock input/output 2 ready to send serial data 2 (clear to send): open drain output pin depending on the program used pd1 txd3 1 input/output output port d1: input/output port sending serial data 3: open drain out put pin depending on the program used pd2 rxd3 1 input/output input port d2: input/output port receiving serial data 3 pd3 sclk3 cts3 1 input/output input/output input port d3: input/output port serial clock input/output 3 ready to send serial data 3 (clear to send): open drain output pin depending on the program used pd4 txd4 1 input/output output port d4: input/output port sending serial data 4: open drain out put pin depending on the program used pd5 rxd4 1 input/output input port d5: input/output port receiving serial data 4 pd6 sclk4 cts4 1 input/output input/output input port d6: input/output port serial clock input/output 4 ready to send serial data 4 (clear to send): open drain output pin depending on the program used pd7 int9 1 input/output input port d7: input/output port interrupt request pin 9: selectable between "h" level, "l" level, risi ng edge and falling edge input pin with schmitt trigger
TMP19A64F20AXBG tmp19a64(rev1.1)2-6 table 2.2.1 pin names and functions (4 of 6) pin name number of pins input or output function pe0 txd5 1 input/output output port e0: input/output port sending serial data 5: open drain out put pin depending on the program used pe1 rxd5 1 input/output input port e1: input/output port receiving serial data 5 pe2 sclk5 cts5 1 input/output input/output input port e2: input/output port serial clock input/output 5 ready to send serial data 5 (clear to send): open drain output pin depending on the program used pe3-pe5 3 input/output ports e3 to e5: input/output ports that allow input/output to be set in units of bits pe6 inta 1 input/output input port e6: input/output port interrupt request pin a: selectable between "h" level, "l" level, risi ng edge, and falling edge input pin with schmitt trigger pe7 intb 1 input/output input port e7: input/output port interrupt request pin b: selectable between "h" level, "l" level, risi ng edge, and falling edge input pin with schmitt trigger pf0 so sda 1 input/output output input/output port f0: input/output port pin for sending data if the serial bus interface operates in the sio mode pin for sending and receiving data if the serial bus interface operates in the i 2 c mode open drain output pin depending on the program used. input with schmitt trigger pf1 si scl 1 input/output input input/output port f1: input/output port pin for receiving data if the serial bus interface operates in the sio mode pin for inputting and outputting a clock if the serial bus interface operates in the i 2 c mode open drain output pin depending on the program used input with schmitt trigger pf2 sck 1 input/output input/output port f2: input/output port pin for inputting and outputting a clock if the se rial bus interface operates in the sio mode pf3 dreq2 1 input/output input port f3: input/output port dma request signal 2: for inputting the request to transfer data by dma from an external i/o device to dmac2 pf4 dack2 1 input/output output port f4: input/output port dma acknowledge signal 2: signal showing th at dreq2 has acknowledged a dma transfer request pf5 dreq3 1 input/output input port f5: input/output port dma request signal 3: for inputting the request to transfer data by dma from an external i/o device to dmac3 pf6 dack3 1 input/output output port f6: input/output port dma acknowledge signal 3: signal showing th at dreq3 has acknowledged a dma transfer request pf7 tbtin 1 input/output input port f7: input/output port 32-bit time base timer input: for inputting the count for 32-bit time base timer pg0-pg3 tc0in-tc3in 4 input/output input ports g0 to g3: input/output ports that allo w input/output to be se t in units of bits for inputting the capture tr igger for 32-bit timer pg4-pg7 tcou0-tcout3 4 input/output output ports g4 to g7: input/output ports that allo w input/output to be se t in units of bits outputting 32-bit timer if the re sult of a comparison is a match ph0-ph5 tcou4-tcout9 6 input/output output ports h0 to h5: input/output ports that allo w input/output to be se t in units of bits outputting 32-bit timber if the re sult of a comparison is a match ph6-ph7 2 input/output ports h6 to h7: input/output ports that allow input/output to be set in units of bits pi0 int0 1 input/output input port i0: input/output port interrupt request pin 0: selectable between "h" level, "l" level, risi ng edge and falling edge input pin with schmitt trigger pi1 int1 1 input/output input port i1: input/output port interrupt request pin 1: selectable between "h" level, "l" level, risi ng edge and falling edge input pin with schmitt trigger pi2 int2 1 input/output input port i2: input/output port interrupt request pin 2: selectable between "h" level, "l" level, risi ng edge and falling edge input pin with schmitt trigger
TMP19A64F20AXBG tmp19a64(rev1.1)2-7 table 2.2.1 pin names and functions (5 of 6) pin name number of pins input or output function pi3 int3 1 input/output input port i3: input/output port interrupt request pin 3: selectable between "h" level, "l" level, risi ng edge and falling edge input pin with schmitt trigger pi4 int4 1 input/output input port i4: input/output port interrupt request pin 4: selectable between "h" level, "l" level, risi ng edge and falling edge input pin with schmitt trigger pj0 dreq2 1 input/output input port j0: input/output port dma request signal 2: for inputting the request to transfer data by dma from an external i/o device to dmac2 pj1 dack2 1 input/output output port j1: input/output port dma acknowledge signal 2: signal showing th at dreq2 has acknowledged a dma transfer request pj2 dreq3 1 input/output input port j2: input/output port dma request signal 3: for inputting the request to transfer data by dma from an external i/o device to dmac3 pj3 dack3 1 input/output output port j3: input/output port dma acknowledge signal 3: signal showing th at dreq3 has acknowledged a dma transfer request pk0-pk7 key0-key7 8 input/output input port k: input/output port that allows i nput/output to be set in units of bits key on wake up input 0 to 7 (with pull-up) with schmitt trigger pl0-pl7 8 input/output port l: input/output port that allows input/output to be set in units of bits pm0-pm7 8 input/output port m: input/output port that allows input/output to be set in units of bits pn0-pn7 8 input/output port n: input/output port that allows input/output to be set in units of bits po0 int0 1 input/output input port o0: input/output port interrupt request pin 0: selectable between "h" level, "l" level, risi ng edge and falling edge input pin with schmitt trigger po1 int1 1 input/output input port o1: input/output port interrupt request pin 1: selectable between "h" level, "l" level, risi ng edge and falling edge input pin with schmitt trigger po2 int2 1 input/output input port o2: input/output port interrupt request pin 2: selectable between "h" level, "l" level, risi ng edge and falling edge input pin with schmitt trigger po3 int3 1 input/output input port o3: input/output port interrupt request pin 3: selectable between "h" level, "l" level, risi ng edge and falling edge input pin with schmitt trigger po4 int4 1 input/output input port o4: input/output port interrupt request pin 4: selectable between "h" level, "l" level, risi ng edge and falling edge input pin with schmitt trigger po5 txd6 1 input/output output port o5: input/output port sending serial data 6: open drain out put pin depending on the program used po6 rxd6 1 input/output input port o6: input/output port receiving serial data 6 po7 sclk6 cts6 1 input/output input/output input port o7: input/output port serial clock input/output 6 ready to send serial data 6 (clear to send): open drain output pin depending on the program used pp0-pp7 tpd0-tpd7 8 input/output output port p: input/output port that allows input/output to be set in units of bits outputting trace data from the data access address: signal for dsu-ice pq0-pq7 tpc0-tpc7 tpd0-tpd7 8 input/output output output port p: input/output port that allows input/output to be set in units of bits outputting trace data from the program counter: signal for dsu-ice outputting trace data from the data access address: signal for dsu-ice
TMP19A64F20AXBG tmp19a64(rev1.1)2-8 table 2.2.1 pin names and functions (6 of 6) pin name number of pins input or output function dclk 1 output debug clock: signal for dsu-ice eje 1 input ejtag enable: signal for dsu-ice (input with schmitt trigger and built-in noise filter) pcst4-0 5 output pc trace status: signal for dsu-ice dint 1 input debug interrupt: signal for dsu-ice (input with schmitt trigger, pull-up and built-in noise filter) tovr/tsta 1 output outputting the status of pd data overflow status: signal for dsu-ice tck 1 input test clock input: signal for testing jtag (input with schmitt trigger and pull-up) tms 1 input test mode select input: signal for te sting jtag (input with schmitt trigger and pull-up) tdi 1 input test data input: signal for testi ng jtag (input with schmitt trigger and pull-up) tdo 1 output test data output: signal for testing jtag trst 1 input test reset input: signal for testi ng jtag (input with schmitt trigger and pull-down) nmi 1 input nonmaskable interrupt request pin: pi n for requesting an interrupt at the falling edge input with schmitt trigger and built-in noise filter plloff 1 input fix this pin to the "h ( dvcc15) level."(input with schmitt trigger) reset 1 input reset: initializing lsi (with pull-up) input with schmitt trigger and built-in noise filter x1/x2 2 input/output pin for conn ecting to a high-speed oscillator xt1/xt2 2 input/output pin for conn ecting to a low-speed oscillator bupmd 1 input backup mode trigger pin: this pin must be set to "l level" in backup mode. breset 1 input backup module reset: initia lizing the backup module (with pull-up) input with schmitt trigger busmd 1 input pin for setting an external bus mode: th is pin functions as a multiplexed bus by sampling the "h (dvcc15) level" upon the rising of a reset signa l. it also functions as a separate bus by sampling "l" upon the rising of a reset signal. when performing a reset operation, pull it up or down according to a bus mode to be used. endian 1 input pin for setting endian: this pin is used to set a mode. it performs a big-endian operation by sampling the "h (dvcc15) level" upon the risi ng of a reset signal, and performs a little- endian operation by sampling "l" upon the rising of a reset signal. when performing a reset operation, pull it up or down according to the type of endian to be used. boot 1 input pin for setting a single boot mode: this pin goes into single boot mode by sampling "l" upon the rising of a reset signal. it is used to overwrite internal flash memory. by sampling "h (dvcc15) level" upon the rising of a reset signa l, it performs a normal operation. this pin should be pulled up under normal operati ng conditions. pull it up when resetting. bw0-1 2 input fix these pins to bw0 = "h (dvcc15)" and bw1 = "h (dvcc15)," respectively. (input with schmitt trigger) vrefh 1 input pin (h) for supplying the a/d converter with a reference power supply connect this pin to avcc31 if the a/d converter is not used. vrefl 1 input pin (l) for supplying the a/d converter with a reference power supply connect this pin to avss if the a/d converter is not used. avcc31-32 2 ? pin for supplying the a/d converter with a power supply. connect it to a power supply even if the a/d converter is not used. avss 3 ? a/d converter gnd pin (0 v). connect this pin to gnd even if the a/d converter is not used. test1-3 3 input test pin: to be fixed to gnd. cvcc15 1 ? pin for supplying oscillators w ith power: 1.5 v power supply cvss/bvss 1 ? gnd pin (0 v) for oscillators and backup modules dvcc15 4 ? power supply pin: 1.5 v power supply bvcc 1 ? pin exclusively for supplying backup modules with power: 3 v power supply dvcc30-34 8 ? power supply pin: 3 v power supply dvss 11 ? gnd pin (0 v) fvcc15 4 ? power supply pin: 1.5 v power supply fvcc3 2 ? power supply pin: 3 v power supply
TMP19A64F20AXBG tmp19a64(rev1.1)2-9 note 1: for busmd, endian and boot pins, the state designated for each pin ("h" or "l" level) must be maintained during one system clock before and after the rising of a reset signal. the reset pin must always be in a stable state at both "l" and "h" levels. note 2: for dreq2, dack2, dreq3 and dack3, it is necessary to go to the port function register and to select one port from two groups of ports, pf3 to pf6 and pj0 to pj3. two ports cannot be operated simultaneously to use the same function. likewise, for pins int0 through int4, one port must be selected from ports pi0 to pi4 and ports po0 to po4. table 2.2.2 shows the pin names and power supply pins. table 2.2.2 pin names and power supply pins pin name power supply pin pin name power supply pin p0 dvcc33 pcst4 to 0 dvcc31 p1 dvcc33 dclk dvcc31 p2 dvcc33 eje dvcc31 p3 dvcc33 trst dvcc31 p4 dvcc33 tdi dvcc31 p5 dvcc33 tdo dvcc31 p6 dvcc33 tms dvcc31 p7 avcc32 tck dvcc31 p8 avcc32 dint dvcc31 p9 avcc31 tov dvcc31 pa dvcc32 busmd dvcc15 pb dvcc32 boot dvcc15 pc dvcc32 endian dvcc15 pd dvcc32 nmi dvcc15 pe dvcc32 breset bvcc pf dvcc32 bupmd bvcc pg dvcc32 x1, x2 cvcc15 ph dvcc32 xt1, xt2 bvcc pi dvcc30 bw0 and 1 dvcc15 pj dvcc33 plloff dvcc15 pk dvcc34 reset dvcc15 pl dvcc34 pm dvcc34 pn dvcc34 po dvcc34 pp dvcc31 pq dvcc31 z 2.7 v avcc32 avcc31
TMP19A64F20AXBG tmp19a64(rev1.1)2-10 table 2.2.3 shows the pin numbers and power supply pins. table 2.2.3 pin numbers and power supply pins power supply pin pin number voltage range dvcc15 d4, d8, e18, n9 1.35 v to 1.65 v cvcc15 c17 1.35 v to 1.65 v dvcc30 k17 1.65 v to 3.3 v dvcc31 h2 1.65 v to 3.3 v dvcc32 m6, u8 1.65 v to 3.3 v dvcc33 f17, u14 1.65 v to 3.3 v dvcc34 d15, f10 1.65 v to 3.3 v avcc31 b1 2.7 v to 3.3 v avcc32 f9 2.7 v to 3.3 v fvcc15 g3, g18, j6, l15 1.35 v to 1.65 v fvcc3 l1, u18 2.7 v to 3.3 v bvcc e15 2.3 v to 3.3 v (under normal operating conditions) 1.8 v to 3.3 v (in backup mode)
TMP19A64F20AXBG tmp19a64(rev1.1)-3-1 3. flash memory operation this section describes the hardware configuration and operation of the flash memory. the feature of this device is that the internal rom of tmp19a 64c1dxbg is replaced by an internal flash memory. other configurations and functions of the device remain the same as with tmp19a64c1dxbg. please refer to the tmp19a64c1dxbg data sheet for functions not described in this section. 3.1 flash memory 3.1.1 features 1) memory capacity the TMP19A64F20AXBG device contains two 8m bits (1mb) of flash memory capacity. the memory area consists of 4 independent memory blocks (128 kb 16) to enable independent write access to each block. when the cpu is to access th e internal flash memory, 32-bit data bus width is used. 2) write/erase write unit: 1 page (128 words) 4k erase unit: selectable from 128 kb, 512 kb, and 1 mb protection unit: selectable in 512 kb blocks protection erasure unit: selectable in 1 mb blocks 3) write/erase time write time: 8 sec/2 chip (typ) 2 msec/128 word (typ.) erase time: 1.6 sec /2 chip (typ) 100 msec/128 kbyte (typ.) protection bit erase time: 100 msec/2 bit (typ) (note) the above values are theoretical va lues not including data transfer time. the write time per chip depends on the write method to be used by the user. 4) programming method two modes are available, i.e., the onboard programming mode to allow programming on the user's board and the writer mode to program the device using an eprom writer. ? onboard programming mode 1) user boot mode the user's original rewriting method can be supported. 2) single boot mode the rewriting method to use serial data transfer (toshiba's unique method) can be supported. ? writer mode use of a general purpose eprom writer is supported. 5) rewriting method the flash memory included in this device is generally compliant with the applicable jedec standards except for some specific functions. therefore, if the user is currently using an external flash memory device, it is easy to implement the functions into this device. furthermore, the user is not required to build his/her own programs to realize complicated write and erase functions because such functions are automatically performe d using the circuits al ready built-in the flash memory chip. this device is also implemented with a read-sec urity function to inhibit reading flash memory data from any external writer device. on the other hand, rewrite protection is available only through command-based software programming; any hardware setting method to apply +12vdc is not supported. the above described security fu nction is automatically enabled when all the four area are configured for protection. when the user removes protection, the internal data is automatically erased before the protection is actually removed.
TMP19A64F20AXBG tmp19a64(rev1.1)-3-2 jedec compliant functions modified, added, or deleted functions ? automatic programming ? automatic chip erase ? automatic block erase ? data polling/toggle bit block protect (only so ftware protection is supported) erase resume - suspend function automatic multiple block erase (supported to the chip level) 3.1.2 block diagram fig. 3.1.2.1 block diagram of the flash memory section internal address bus rom controller control address data flash memory column decoder/sense amplifier data latch address latch erase block decoder control circuit (includes automatic sequence control) command register internal data bus internal control bus flash memory cell 1mb 1mb row decoder row decoder
TMP19A64F20AXBG tmp19a64(rev1.1)-3-3 3.2 operation mode this device has four operation modes including the mode not to use the internal flash memory. table 3.2.1.1 operation modes operation mode operation details single chip mode after reset is cleared, it starts up from the internal flash memory. normal mode in this operation mode, two diffe rent modes, i.e., the mode to execute user application programs and the mode to rewrite the flash memory onboard the user?s card, are defined. the former is referred to as "normal mode" an d the latter "user boot mode." user boot mode the user can uniquely configur e the system to switch be tween these two modes. for example, the user can freely design the system such that the normal mode is selected when the port "00" is set to "1" and the user boot m ode is selected when it is set to "0." the user should prepare a routine as part of the application program to make the decision on the selection of the modes. single boot mode after reset is cleared, it starts up from the inte rnal boot rom (mask rom) . in the boot rom, an algorithm to enable flash memory rewriting on the us er?s set through the serial port of this device is programmed. by connecting to an external host computer through the seri al port, the internal flash memory can be programmed by transferring data in accordance with predefined protocols. writer mode this mode allows use of a ge neral purpose eprom writer to rewrite the internal flash memory. please use a special program adaptor and an eprom writer that are recommended for use. among the flash memory operation modes listed in the above table, the user boot mode, single boot mode, and writer mode are programmable modes. these two modes, the user boot mode and the single boot mode, are referred to as "onboard programming" modes where onboard rewriting of internal flash memory can be made on the user's card.
TMP19A64F20AXBG tmp19a64(rev1.1)-3-4 either the single chip, single boot, or writer operation m ode can be selected by externally setting the levels of the bw0, bw1, and boot input pins while the device is in the reset state. except for the case of the writer mode , the cpu starts operation in the selected operation mode when the reset condition is removed after the pin levels are set. the writer mode is used with reset set to "0". be sure not to change the levels during operation once the mode is selected. the mode setting method and the mode transition diagram are shown below: table 3.2.1.2 operation mode setting input pin operation mode reset bw0 bw1 boot (1) single chip mode 0 1 1 1 1 (2) single boot mode 0 1 1 1 0 (3) writer mode *1 *1 *1 *1 *1: don't care (no explanation is given in this section regarding condition settings.) fig. 3.2.1.3 mode transition diagram 3.2.1 reset operation to reset the device, ensure that the power supply voltage is within the operating voltage range, that the internal oscillator has been stabilized, and that the reset input is held at "0" for a minimum duration of 12 system clocks (1.8 s with 54 mhz operation; the "1/8" cloc k gear mode is applied after reset). (note 1) regarding power-on reset of devices with internal flash memory; for devices with internal flash memory, it is necessary to apply "0" to the reset inputs upon power on for a minimum duration of 60 microseconds regardless of the operating frequency. during this period, each protection bit, to be described later, is locked in the state it is written regardless of the state it ought to be. the original values of protection bits can be checked by reading the register flcs after the power on reset operation is normally terminated. (note 2) while flash programming is in progress, at least 0.5 microseconds of reset period is required regardless of the system clock frequency. writer mode onboard pro g rammin g mode / reset = 0 / reset = 0 (2) (3) (1) user to set the switch method single chip mode reset mode normal mode user boot mode single boot mode the number in the parentheses indicate the mode number in the above table to show the input pin setting to be made for the corresponding state transition.
TMP19A64F20AXBG tmp19a64(rev1.1)-3-5 3.2.2 dsu (ejtag) - probe interface this interface is used when the dsu probe is used in debugging. this is the dedicated interface for connection to the dsu probe. please refer to the opera tion manual for the dsu probe you are going to use for details of debugging procedures to use the dsu probe. here, the function to enable/disable the dsu probe in the dsu (ejtag) mode is described. 1) security function this device allows use of an on-board dsu probe for debugging. to facilitate this, the device is implemented with a security measur e to prevent easy reading of the internal flash memory by a third party other than the authorized user. by enabling the security function, it becomes impossible to read the internal flash memory from a dsu probe. use this function together with the security function of the internal flash memory itself as described later. 2) dsu probe enable/disable function this device allows use of on-board dsu probes for debugging operations. to facilitate this, the device is implemented with the "dsu probe inhibit" function (hereafter referred to as the "dsu inhibit" function ) to prevent easy reading of the internal flash memory by a third party other than the authorized user. by enabling the dsu inhibit function, use of any dsu probe becomes impossible. 3) dsu enable (enables use of dsu probes for debugging) in order to prevent the dsu inhibit function from be ing accidentally removed by system runaway, etc., the method to cancel the inhibit function requires a double action operation so it is necessary to set dsu security mode register dsusec1 to "0" and also write the security code "0x0000_00c5" to the dsu security control regi ster dsusec2 to cancel the function. then, debugging to use a dsu probe is allowed. while power to the device is still applied, setting dsusec1 to "1" and writing "0x0000_00c5 " to the dsusec2 register will enable the security function again. table 3.2.2.1 dsu security mode register 7 6 5 4 3 2 1 0 dsusec1 bit symbol dsuoff (0xffff_e510) read/write r r/w after power on reset 0 1 function always reads "0." 1: dsu disable 0: dsu available 15 14 13 12 11 10 9 8 bit symbol read/write r after power on reset 0 function always reads "0." 23 22 21 20 19 18 17 16 bit symbol read/write r after power on reset 0 function 31 30 29 28 27 26 25 24 bit symbol read/write r after power on reset 0 function always reads "0." (note) this register can be initialized only by a power on reset. normal reset inputs cannot reset the register. (note) this register must be 32-bit accessed.
TMP19A64F20AXBG tmp19a64(rev1.1)-3-6 table 3.2.2.2 dsu security control register 7 6 5 4 3 2 1 0 dsusec2 bit symbol dsecode07 dsecode06 dsecod e05 dsecode04 dsecode03 dsecod e02 dsecode01 dsecode00 (0xffff_e514) read/write w after reset 0 function write "0x0000_00c5." 15 14 13 12 11 10 9 8 bit symbol dsecode15 dsecode14 dsecode13 dsecode12 dsecode11 dsecode10 dsecode09 dsecode08 read/write w after reset 0 function write "0x0000_00c5." 23 22 21 20 19 18 17 16 bit symbol dsecode23 dsecode22 dsecode21 dsecode20 dsecode19 dsecode18 dsecode17 dsecode16 read/write w after reset 0 function write "0x0000_00c5." 31 30 29 28 27 26 25 24 bit symbol dsecode31 dsecode30 dsecode29 dsecode28 dsecode27 dsecode26 dsecode25 dsecode24 read/write w after reset 0 function write "0x0000_00c5." (note) this register must be 32-bit accessed. 4) example use by the user an example to use a dsu probe together with this function is shown as follows: fig. 3.2.2.3 example use of dsu inhibit function [dsu-probe available] dsu can be used until power is turned off. power on dsu availability decision program (to be prepared by the user) dsu inhibit cleared? clear dsu inhibit f unction by writing to dsusec1 and dsusec2 [dsu-probe disabled] dsu remains unavailable y n external ports data, etc. protection bit set to 1111 y n [dsu-probe available] clear rom security (only for internal rom/flash)
TMP19A64F20AXBG tmp19a64(rev1.1)-3-7 3.3 on-board programming of fl ash memory (rewrite/erase) in on-board programming, the cpu is to execute softwa re commands for rewriting or erasing the flash memory. the rewrite/erase control program should be prepared by the user beforehand. because the flash memory content cannot be read while it is being written or eras ed, it is necessary to run the rewrite/erase program from the internal ram or from an external memory device after shifting to the user boot mode. in this section, flash memory addresses are represented in virtual addresses unless otherwise noted. 3.4 flash memory except for some functions, writing and erasing flash memo ry data are in accordance with the standard jedec commands. in writing or erasing, use the sw command of the cpu to enter commands to the flash memory. once the command is entered, the actual write or er ase operation is automatically performed internally. table 3.4.1.1 flash memory functions major functions description automatic page program writes data au tomatically (in 128 word blocks). automatic chip erase automatically erases the flash memory area one chip at a time (1 mb at a time). automatic block erase erases a selected block automatically (128 kb at a time). write protect the write or erase function can be individually in hibited for each area (of 512 kb). when all areas are set for protection, the security function is automatically enabled. security function a security function is implem ented to inhibit reading from the flash memory when the device is in the writer mode. by setting protection to all the four areas, the security function is enabled. in order to disable the security f unction, it is necessary to cancel write protection when the entire flash memory is automatically erased. note that addressing of operation commands is differ ent from the case of standard commands due to the specific interface arrangements with the cpu as detailed operation of the user boot mode and ram transfer mode is described later. also note that the flash memory is wr itten in 32-bit blocks. so, 32-bit (word) data transfer commands must be used in writing the flash memory.
TMP19A64F20AXBG tmp19a64(rev1.1)-3-8 (1) block configuration 0xbfdf_ffff block 7 128 kb protection area 3 block 6 128 kb block 5 128 kb chip 1 block 4 128 kb block 3 128 kb protection area 2 block 2 128 kb block 1 128 kb 0xbfd0_0000 block 0 128 kb 0xbfcf_ffff block 7 128 kb protection area 1 block 6 128 kb block 5 128 kb chip 0 block 4 128 kb block 3 128 kb protection area 0 block 2 128 kb block 1 128 kb 0xbfc0_0000 block 0 128 kb fig. 3.4.1.2 block confi guration of flash memory 128 words 128 words | x 256 128 words 128 words | x 256 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
TMP19A64F20AXBG tmp19a64(rev1.1)-3-9 (2) basic operation generally speaking, this flash memory device has the following two operation modes: ? the mode to read memory data (read mode) ? the mode to automatically erase or rewrite memory data (automatic operation) transition to the automatic mode is made by executing a command sequence while it is in the memory read mode. in the automatic operation mode, flash memory data cannot be read and any commands stored in the flash memory cannot be executed. during automatic operation, be sure not to cause any exceptions other than debug exceptions and reset wh ile a dsu probe is connected. any interrupt or exception generation cannot set the device to the read mode except when a hardware reset is generated. 1) read when data is to be read, the flash memory must be set to the read mode. the flash memory will be set to the read mode immediately after power is applied, when cpu reset is removed, or when an automatic operation is normally terminated. in order to return to the read mode from other modes or after an automatic operation has been abnormally terminated, either the read/reset command (a software command to be described later) or a hardware reset is used. the device must also be in the read mode when any command written on the flash memory is to be executed. ? read/reset command and read command (software reset) when an automatic operation is abnormally terminated, the flash memory cannot return to the read mode by itself (when flcs = 0, data read from the flash memory is undefined.) in this case, the read/reset command can be used to return the flash memory to the read mode. also, when a command that has not been completely written has to be canceled, the read/reset command must be used to return to the read mode. the read command is used to return to the read mode after executing the sw command to write the data "0x0000_00f0" to two arbitrary addresses 0x001x_xxxx and 0x000x_xxxx of the flash memory. ? with the read/reset command, the device is returned to the read mode after completing the third bus write cycle. 2) command write this flash memory uses the command control method. commands are ex ecuted by executing a command sequence to the flash memory. the flash memory executes automatic operation commands according to the address and data combinations applied (refer to command sequence). if it is desired to cancel a command write operatio n already in progress or when any incorrect command sequence has been entered, the read/reset command is to be executed. then, the flash memory will terminate the command execution and return to the read mode. also, when issuing a command, the address [20:19] must be fixed to either "1" or "0" in order to enable a decision to sel ect either chip 0 or 1. while commands are generally comprised of several bus cycles, the operation to apply the sw command to the flash memory is called "bus write cycle." the bus write cycles are to be in a specific sequential order and the flash memory will perform an automatic operation when the sequence of the bus write cycle data and addr ess of a command write operation is in accordance with a predefined specific se quence. if any bus write cycl e does not follow a predefined command write sequence, the flash memory will terminate the command execution and return to the read mode. the address [31:21] in each bus write cycle should be the virtual address [31:21] of command execution. it will be explained later for the address bits [20:8].
TMP19A64F20AXBG tmp19a64(rev1.1)-3-10 (note 1) command sequences are executed from outside the flash memory area. (note 2) the interval between bus write cycles for this device must be 15 system clock cycles or longer. the command sequencer in the flash memory device requires a certain time period to recognize a bus write cycle. if more than one bus write cycles are executed within this time period, normal operation cannot be expected. for adjusting the applicable bus write cycle interval using a software timer to be operated at the operating frequency, use the section 10) "id-read" to check for the appropriateness. (note 3) between the bus write cycles, never use any load command (such as lw, lh, or lb) to the flash memory or perform a dma transmission by specifying the flash area as the source address. also, don't execute a jump comma nd to the flash memory. while a command sequence is being executed, don't generate any interrupt such as maskable interrupts (except debug exceptions when a dsu probe is connected). if such an operation is made, it can result in an unexpected read access to the flash memory and the command sequencer may not be able to correctly recognize the command. while it could cause an abnormal termination of the command sequence, it is also possible that the written command is incorrectly recognized. (note 4) the sync command must be executed i mmediately after the sw command for each bus write cycle. (note 5) for the command sequencer to recognize a command, the device must be in the read mode prior to executing the command. be sure to check before the first bus write cycle that the flcs[0] rdy/bsy bit is set to "1." it is recommended to subsequently execute a read command. (note 6) upon issuing a command, if any address or data is incorrec tly written, be sure to perform a system reset operation or issue a reset command (for chip 0 and chip 1 ) to return to the read mode again. 3) reset hardware reset the flash memory has a reset input as the memory block and it is connected to the cpu reset signal. therefore, when the reset inpu t pin of this device is set to v il or when the cpu is reset due to any overflow of the watch dog timer, the flash memory will return to the read mode terminating any automatic operation that may be in progress. the cpu reset is also used in returning to the read mode when an automatic operation is abnormally terminated or when any mode set by a command is to be canceled. it should also be noted that applying a hardware reset during an automatic operation can result in incorrect rewriting of data. in such a case, be sure to perform the rewriting again. refer to section 3.1 "reset operation" for cpu reset operations. after a given reset input, the cpu will read the reset vector data from the flash memory and starts operation after the reset is removed. 4) automatic page programming writing to a flash memory device is to make "1" data cells to "0" data cells. any "0" data cell cannot be changed to a "1" data cell. for making "0" data cells to "1" data cells, it is necessary to perform an erase operation. the automatic page programming function of this device writes data in 128 word blocks. a 128 word block is defined by a same [31:9] address and it starts from the address [8:0] = 0 and ends at the address [8:0] = 0x1ff. this programming unit is hereafter referred to as a "page."
TMP19A64F20AXBG tmp19a64(rev1.1)-3-11 writing to data cells is automatically performed by an internal sequencer and no external control by the cpu is required. the state of automati c page programming (whether it is in writing operation or not) can be checked by the flcs register. also, any new command sequence is not accepted while it is in the automatic page programming mode. if it is desired to interrupt the automatic page programming, use the hardware reset function. if the operation is stopped by a hardwa re reset operation, it is necessary to once erase the page and then perform the automatic page programming again because writing to the page has not been normally terminated. the automatic page programming operation is allowed only once for a page already erased. no programming can be performed twice or more times irrespective of the data cell value whether it is "1" or "0." note that rewriting to a page that has been once written requires execution of the automatic block erase or automatic chip erase command before executing the automatic page programming command again. note that an attempt to rewrite a page two or more times without erasing the content can cause damages to the device. no automatic verify operation is performed internally to the device. so, be sure to read the data programmed to confirm that it has been correctly written. the automatic page programming operation starts when the fourth bus write cycle of the command cycle is completed. on and after th e fifth bus write cycle, data will be written sequentially starting from the next address of the address specified in the fourth bus write cycle (in the fourth bus write cycle, the page top addr ess will be command written) (32 bits of data is input at a time). be sure to use the sw command in writing commands on and after the fourth bus cycle. in this, any sw command shall not be placed across word boundary. on and after the fifth bus write cycle, data is command written to the same page area. even if it is desired to write the page only partially, it is required to perform the automatic page programming for the entire page. in this case, the address input for the fourth bus write cycle shall be set to the top address of the page. be sure to perform command write operation w ith the input data set to "1" for the data cells not to be set to "0." for example, if the top address of a page is not to be written, set the input data of the fourth bus write cycle to 0x ffffffff to command write the data. once the fourth bus cycle is executed, it is in the automatic programming operation. this condition can be checked by monitoring the re gister bit flcs . any new command sequence is not accepted while it is in automatic page programming mode. if it is desired to stop operation, use the hardware reset function. be careful in doing so because data cannot be written normally if the operation is interrupted. when a single page has been command written normally terminating the automatic page writing process, the flcs bit is set to "1" and it returns to the read mode. when multiple pages are to be written, it is necessary to execute the page programming command for each page because the number of pa ges to be written by a single execution of the automatic page program command is limited to only one page. it is not allowed for automatic page programming to process input data across pages. data cannot be written to a protected block. when automatic programming is finished, it automatically returns to the read mode. this condition can be checked by monitoring flcs . if automatic programming has failed, the flash memory is locked in the mode and will not return to the read mode. for returning to the read mode, it is necessary to use the reset command or hardware reset to reset the flash memo ry or the device. in this case, while writing to the address has failed, it is recommended not to use the device or not to use the block that includes the failed address. note: software reset becomes ineffective in bus write cycles on and after the fourth bus write cycle of the automatic page programming command.
TMP19A64F20AXBG tmp19a64(rev1.1)-3-12 5) automatic chip erase (1mb at a time) the automatic chip erase operati on starts when the sixth bus write cycle of the command cycle is completed. this condition can be checked by monitoring flcs . while no automatic verify operation is performed internally to the device, be sure to read the data to confirm that data has been correctly erased. any new command sequence is not accepted while it is in an automatic chip erase operation. if it is desired to stop op eration, use the hardware reset function. if the operation is forced to stop, it is necessary to perform the automatic chip erase operation again because the data erasing operation has not been normally terminated. also, any protected blocks cannot be erased. if all the blocks are protected, the automatic chip erase operation will not be performed and it return s to the read mode after completing the sixth bus read cycle of the command sequence. when an automatic chip erase operation is normally terminated, it automatically returns to the read mode. if an automatic chip erase operation has failed, the flash memory is locked in the mode and will not return to the read mode. for returning to the read mode, it is necessary to use the reset command or hardware reset to reset the flash memory or the device. in this case, the failed block cannot be detected. it is recommended not to use the device anymore or to identify the failed block by using the block erase function for not to use the identified block anymore. 6) automatic block erase (128 kb at a time) the automatic block erase operation starts when the sixth bus write cycle of the command cycle is completed. this status of the automatic block erase operation can be checked by monitoring flcs . while no automatic verify operation is performed internally to the device, be sure to read the data to confirm that data has been correctly erased. any new command sequence is not accepted while it is in an automatic block erase operation. if it is desired to stop operation, use the hardware reset function. in this case, it is necessary to perform the automatic block erase operation again because the data erasing op eration has not been normally terminated. note that any block in the protected area is not erased. it returns to the read mode upon completing the last bus cycle of the command sequence. if an automatic block erase operation has failed, the flash memory is locked in the mode and will not return to the read mode. in this case, use the reset command or hardware reset to reset the flash memory or the device. note: commands can be accepted only by chip 0. even if automatic protection bit programming or erasure is commanded to chip 1, it will not result in any setting or clearing of the protection. 7) automatic programming of protection bits (for each 512 kb block) this device is implemented with four protection bits. the protection bits can be individually set in the automatic programming. the applicable protection bit is specified in the seventh bus write cycle. by automatically programming the protection bits, write and/or erase functions can be inhibited individually for each protection area. the protection status of each area can be checked by flcs to be described later. any new command sequence is not accepted while automatic programming is in progress to program the protection bits. if it is desired to stop the programming operation, use the hardware rese t function. in this case, it is necessary to perform the programming operation again because the protection bits may not have been correctly programmed. if all the protection bits have been programmed, the flash memory cannot be read
TMP19A64F20AXBG tmp19a64(rev1.1)-3-13 from any area outside the flash memory such as the internal ram. in this condition, the flcs register is set to "0xf" (secure state). after this, no command writing can be performed. note: commands can be accepted only by chip 0. even if automatic protection bit programming or erasure is commanded to chip 1, it will not result in any setting or clearing of the protection. note: software reset is ineffective in the seventh bus write cycle of the automatic protection bit programming command. the flcs bit turns to "0" after entering the seventh bus write cycle. 8) automatic erasing of protection bits different results will be obtained when the automatic protection bit erase command is executed depending on the status of the protection bits. it depends on the status of flcs before the command execution whether it is set to "0 x f" or to any other values. be sure to check the value of flcs before executing the automatic protection bit erase command. ? when flcs is set to "0 x f" (all the protection bits are programmed): when the automatic protection bit erase comma nd is command written, the flash memory is automatically initialized within the device. when the seventh bus write cycle is completed, the entire area of the flash memory data cells is erased and then all the protection bits are erased. this operation can be checked by monitoring flcs . if the automatic operation to erase protection bits is normally terminated, flcs will be set to "0x0." while no automatic verify operation is performed internally to the device, be sure to read the data to confirm that it has been correctly erased. for returning to the read mode while the automatic operation after the seventh bus cycle is in progress , it is necessary to use the hardware reset to reset the flash memory or the device. if this is done, it is necessary to check the status of protection bits by flcs after retuni ng to the read mode and perform either the automatic protection bit erase, automatic chip er ase, or automatic block erase operation, as appropriate. ? when flcsis other than "0 x f" (not all the protection bits are programmed): the protection condition can be canceled by the au tomatic protection bit erase operation. with this device, protection bits can be erased handling two bits at a time. the ta rget bits are specified in the seventh bus write cycle and when the command is completed, the device is in a condition the two bits are erased. the protection status of each block can be checked by flcs to be described later. this status of the programming operation for automatic protection bits can be checked by monitoring flcs . when the automatic operation to erase protection bits is norma lly terminated, the two protection bits of flcs selected for erasure are set to "0." in any case, any new command sequence is not accept ed while it is in an automatic operation to erase option bits. if it is desired to stop the operation, use the hardware reset function. when the automatic operation to erase option bits is normally terminated, it returns to the read mode.
TMP19A64F20AXBG tmp19a64(rev1.1)-3-14 9) flash control/ status register this resister is used to monitor the status of the flash memory and to indicate the block protection status. table 3.4.1.3 flash control register 7 6 5 4 3 2 1 0 flcs bit symbol protect3 protect2 pr otect1 protect0 romtype prgb rdy/bsy (0xffff_e520) read/write r r r r/w r after power on reset 0 0 0 0 0 0 0 1 function protection area se tting (for each 512 kb) 0000: no blocks are protected xxx1: block 0 is protected xx1x: block 1 is protected x1xx: block 2 is protected 1xxx: block 3 is protected rom id bit 0:flash 1:mrom programming bit 0: already issued 1: issue ready/busy 0: in operation 1: operation terminated 15 14 13 12 11 10 9 8 bit symbol read/write r after power on reset 0 0 0 0 0 0 0 0 function 23 22 21 20 19 18 17 16 bit symbol read/write r after power on reset 0 0 0 0 0 0 0 0 function 31 30 29 28 27 26 25 24 bit symbol read/write r after power on reset 0 0 0 0 0 0 0 0 function bit 0: ready/busy flag bit the rdy/bsy output is provided as a means to monitor the status of automatic operation. this bit is a function bit for the cpu to monitor the function. when th e flash memory is in automatic operation, it outputs "0" to indicate that it is busy. when the automatic ope ration is terminated, it returns to the ready state and outputs "1" to accept the next command. if the automatic operation has failed, this bit maintains the "0" output. returns to "1" upon power on. (note) be sure to confirm the ready status whenever a command is to be issued. issuing a command while the device is busy may result in a situation where further command inputs are rejected in addition to the fact that the command cannot be transferred correctly. in such a case, restore the system by using system reset or a reset command. bit 1: programming bit this bit notifies the flash interface that a co mmand is to be issued to the flash memory. be sure to set this bit to "1" whenever a command is to be issued to the internal flash memory. also, when all commands have been issued, set this bit to "0" after confirming that the bit is set to "1." bit 2: rom type identification bit this bit is read after reset to identify wh ether the rom is a flash rom or a mask rom. flash rom: "0" mask rom: "1" bits [7:4]: protection bits (x: can be set to any combination of areas) each of the protection bits (4 bits) represents the protection status of the corresponding area. when a bit is set to "1," it indicates that the ar ea corresponding to the bit is protecte d. when the area is protected, data cannot be writt en into it.
TMP19A64F20AXBG tmp19a64(rev1.1)-3-15 10) id-read using the id-read command, you can obtain the type and other information on the flash memory contained in the device. the data to be loaded will be different depending on the write address to the flash [15:14] of the fourth and subsequent bus write cycles (any input data other than 0xf0 can be used). on and after the fourth bus write cycle, when an lw command (to read an arbitrary flash memory area) is executed after an sw co mmand, the id value will be loaded (execute a sync command immediately after the lw command) . once the fourth bus write cycle of an id- read command has passed, the device will not automatically return to the read mode. in this condition, the set of the fourth bus write cycle and lw/sync commands can be repetitively executed. for returning to the read mode, rese t the system or use the read or read/reset command. the id-read command can be used when it is nece ssary for an application to identify whether the device in the product has an internal flash memory or an internal rom. th is is effective because a mask rom doesn't have a command sequencer so it interprets any id-read command written as simply a pair of sw and lw commands applied to the mask rom. if an id-read command is to be executed on a device with an internal ma sk rom, it is necessary to select an address at which the return value to a normal lw command is different from the id-read execution result (id) from a device with an internal flash memory, also taking into account any applicable security conditions. note: setting is required when a command is to be issued to chip 0 or chip 1. refer to (4) list of command sequences.
TMP19A64F20AXBG tmp19a64(rev1.1)-3-16 (4) list of command sequences this product is implemented with two 1 mb flash ro m chips (1 mb x 2). it is necessary to identify the target chip (0 or 1) before executing a command. this identification is made by the address bit [20]. table 3.4.1.2 flash memory a ccess from the internal cpu flash chip 0 command sequence: addr. [20] = 0 first bus cycle second bus cycle third bus cycle fourth bus cycle fifth bus cycle sixth bus cycle seventh bus cycle addr. addr. addr. addr. addr. addr. addr. command sequence data data data data data data data 0xxx ra read 0xf0 rd 0x55xx 0xaaxx 0x55xx ra read/reset 0xaa 0x55 0xf0 rd 0x55xx 0xaaxx 0x55xx ia 0xxx ? id-read 0xaa 0x55 0x90 0x00 id ? 0x55xx 0xaaxx 0x55xx pa pa pa pa automatic page programming (note) 0xaa 0x55 0xa0 pd0 pd1 pd2 pd3 0x55xx 0xaaxx 0x55xx 0x55xx 0xaaxx 0x55xx ? automatic chip erase 0xaa 0x55 0x80 0xaa 0x55 0x10 ? 0x55xx 0xaaxx 0x55xx 0x55xx 0xaaxx ba ? auto block erase (note) 0xaa 0x55 0x80 0xaa 0x55 0x30 ? 0x55xx 0xaaxx 0x55xx 0x55xx 0xaaxx 0x55xx pba protection bit programming 0xaa 0x55 0x9a 0xaa 0x55 0x9a 0x9a 0x55xx 0xaaxx 0x55xx 0x55xx 0xaaxx 0x55xx pba protection bit erase 0xaa 0x55 0x6a 0xaa 0x55 0x6a 0x6a flash chip 1 command sequence: addr. [20] = 1 first bus cycle second bus cycle third bus cycle fourth bus cycle fifth bus cycle sixth bus cycle seventh bus cycle addr. addr. addr. addr. addr. addr. addr. command sequence data data data data data data data 0xxx ra read 0xf0 rd 0x55xx 0xaaxx 0x55xx ra read/reset 0xaa 0x55 0xf0 rd 0x55xx 0xaaxx 0x55xx ia 0xxx ? id-read 0xaa 0x55 0x90 0x00 id ? 0x55xx 0xaaxx 0x55xx pa pa pa pa automatic page programming (note) 0xaa 0x55 0xa0 pd0 pd1 pd2 pd3 0x55xx 0xaaxx 0x55xx 0x55xx 0xaaxx 0x55xx ? automatic chip erase 0xaa 0x55 0x80 0xaa 0x55 0x10 ? 0x55xx 0xaaxx 0x55xx 0x55xx 0xaaxx ba ? auto block erase (note) 0xaa 0x55 0x80 0xaa 0x55 0x30 ? ? ra: read address rd: read data ? ia: id address id: id data ? pa: program page address (specified in addr.[20:9]) pd: program data (32-bit data) after the fourth bus cycle, enter data in the order of the address for a page. ? ba: block address pba: protection bit address
TMP19A64F20AXBG tmp19a64(rev1.1)-3-17 (note) to select the target memory access area (block), set either "0" or "1" to the address bits [20:19] in the first bus cycle. (note 1) always set "0" to the address bits [1:0] in the entire bus cycle. (setting values to bits [7:2] are undefined.) (note 2) bus cycles are "bus write cycles" except for the second bus cycle of the read command, the fourth bus cycle of the read/reset command, and the fifth bus cycle of the id-read command. bus write cycles are executed by sw commands. use "data" in the table for the rt register [7:0] of sw commands. the address [31:16] in each bus write cycle should be the target flash memory address [31:16] of the command sequence. use "addr." in the table for the address [15:0]. (note 3) in executing the bus write cycles, the interval between each bus write cycle shall be 15 system clocks or more. (note 4) the "sync command" must be executed immediately after completing each bus write cycle. (note 5) execute the "sync command" immediately following the "lw command" after the fourth bus write cycle of the id- read command. (5) address bit configura tion for bus write cycles table 3.4.1.3 address bit confi guration for bus write cycles address addr [31:21] addr [20] addr [19] addr [18:17] addr [16] addr [15] addr [14] addr [13] addr [12:9] addr [8] addr [7:0] normal bus write cycle address configuration normal commands flash area chip selection area selection "0" is recommended command addr [1:0]=0 (fixed), others: 0 (recommended) ba: block address (set the sixth bus write cycle address for block erase operation) block erase flash area chip selection area selection block selection addr[1:0]=0 (fixed), others: 0 (recommended) pa: program page address (set the fourth bus write cycle address for page programming operation) auto page program- ming flash area chip selection area selection block selection page selection addr[1:0]=0 (fixed), others: 0 (recommended) ia: id address (set the fourth bus write cycle address for id-read operation) id-read flash area chip selection "0" is recommended id address addr[1:0]=0 (fixed), others: 0 (recommended) pba: protection bit address (set the seventh bus write cycle address for protection bit programming) protection bit program- ming flash area fixed to "0" "0" is recommended protection bit write 00: area 0 01: area 1 10: areak 2 11: area 3 addr[1:0]=0 (fixed), others: 0 (recommended) pba: protection bit address (set the seventh bus write cycle address for protection bit erasure) protection bit erase flash area fixed to "0" "0" is recommended erase protection for 0: area 0, 1 1: area 2, 3 addr[1:0]=0 (fixed), others: 0 (recommended) (note) table 3.4.1.2 "flash memory access fr om the internal cpu" can also be used. (note) address setting can be performed according to the "normal bus write cycle address configuration" from the first bus cycle. (note) ""0" is recommended" can be changed as necessary.
TMP19A64F20AXBG tmp19a64(rev1.1)-3-18 table 3.4.1.4 block erase address table select area set address[20:17] address area chip area ba [20] [19] [18] [17] flash memory address when applied to the projected area size block 7 1 1 1 1 0xbfde_0000-0xbf df_ffff 0x001e_0000-0x001f_ffff 128 kb block 6 1 1 1 0 0xbfdc_0000-0x bfdd_ffff 0x001c_0000-0x001d_ffff 128 kb block 5 1 1 0 1 0xbfda_0000-0xbf db_ffff 0x001a_0000-0x001b_ffff 128 kb area 3 block 4 1 1 0 0 0xbfd8_0000-0xb fd9_ffff 0x0018_0000-0x0019_ffff 128 kb block 3 1 0 1 1 0xbfd6_0000-0xb fd7_ffff 0x0016_0000-0x0017_ffff 128 kb block 2 1 0 1 0 0xbfd4_0000-0xb fd5_ffff 0x0014_0000-0x0015_ffff 128 kb block 1 1 0 0 1 0xbfd2_0000-0xb fd3_ffff 0x0012_0000-0x0013_ffff 128 kb chip 1 area 2 block 0 1 0 0 0 0xbfd0_0000-0xb fd1_ffff 0x0010_0000-0x0011_ffff 128 kb block 7 0 1 1 1 0xbfce_0000-0xbf cf_ffff 0x000e_0000-0x000f_ffff 128 kb block 6 0 1 1 0 0xbfcc_0000-0xb fcd_ffff 0x000c_0000-0x000d_ffff 128 kb block 5 0 1 0 1 0xbfca_0000-0x bfcb_ffff 0x000a_0000-0x000b_ffff 128 kb area 1 block 4 0 1 0 0 0xbfc8_0000-0xbfc9_ffff 0x0008_0000-0x0009_ffff 128 kb block 3 0 0 1 1 0xbfc6_0000-0xbfc7_ffff 0x0006_0000-0x0007_ffff 128 kb block 2 0 0 1 0 0xbfc4_0000-0xbfc5_ffff 0x0004_0000-0x0005_ffff 128 kb block 1 0 0 0 1 0xbfc2_0000-0xbfc3_ffff 0x0002_0000-0x0003_ffff 128 kb chip 0 area 0 block 0 0 0 0 0 0xbfc0_0000-0xbfc1_ffff 0x0000_0000-0x0001_ffff 128 kb table 3.4.1.5 protection bit programming address table the seventh bus write cycle address [15:14] pba address [15] address [14] area 0 0 0 area 1 0 1 area 2 1 0 area 3 1 1 table 3.4.1.6 protection bit erase address table the seventh bus write cycle address [15:14] pba address [15] address [14] area 0 0 x area 1 0 x area 2 1 x area 3 1 x the protection bit erase command w ill erase bits 0 and 1 together. the bits 2 and 3 are also erased together. table 3.4.1.7 the id-read command's fourth bus write cycle id address (ia) and the data to be read by the following lw command (id) ia [15:14] id [7: 0] code 00b 0x98 manufacturer code 01b 0x5a device code 11b 0x06 macro code 10b reserved ---
TMP19A64F20AXBG 4. electrical characteristics the letter x in equations presented in this chapter represents the cycle peri od of the fsys clock selected through the programming of the syscr1.sysck bit. t he fsys clock may be derived from either the high-speed or low-speed crystal oscillat or. the programming of the clock gear function also affects the fsys frequency. all relevant values in this chapter are calculated with the high-speed (fc) system clock (syscr1.sysck = 0) and a clo ck gear factor of 1/fc (syscr1.gear[2:0] = 000). 4.1 absolute maximum ratings parameter symbol rating unit vcc2 (core) ? 0.3 to 3.0 vcc3 i/o ? 0.3 to 3.9 avcc a/d ? 0.3 to 3.9 supply voltage bvcc ? 0.3 to 3.9 v supply voltage v in ? 0.3 to v cc + 0.3 v per pin i ol 5 low-level output current total i ol 50 per pin i oh -5 high-level output current total i oh 50 ma power dissipation (ta = 85c) pd 600 mw soldering temperature (10 s) t solder 260 storage temperature t stg ? 40 to 125 except during flash w/e -20 to 85 operating temperature during flash w/e t opr 0 to 70 write/erase cycles n ew 100 cycle v cc15 dvcc15 cvcc15 fvcc15 v cc 3 dvcc3n n 0 to 4 avcc avcc3m m 1 to 2 v ss dvss avss cvss fvss note: the absolute maximum rating is a rating that must never be exceeded, even for an instant. not a single absolute maximum rating value can be exceeded. if any absolute maximum rating value is exceeded, the product may be damaged or weakened, or damage or combustion may cause personal injury. always be sure to design your application devices so the absolute maximum rating is never exceeded. tmp19a64(rev1.1)4-1
TMP19A64F20AXBG tmp19a64(rev1.1)4-2 4.2 dc electrical characteristics (1/3) ta 20 to 85 parameter symbol conditions min typ (note 1) max unit dvcc15 fosc = 8 to 13.5mhz fs = 30khz to 34khz fsys = 30khz to 54mhz plloff="1" 1.35 1.65 bvcc fsys = 16khz to 54mhz 1.8 3.3 supply voltage cvcc15 dvcc15 cvss dvss0v dvcc3n (n 0 to 4) fsys = 4 to 54mhz 1.65 3.3 v p7 to p9 (used as a port) v il1 2.7v Q avcc32Q avcc31Q 3.3v 0.3avcc31 0.3avcc32 1.65v Q dvcc3n Q 3.3v n=0 to 4 normal port v il2 1.8v Q bvcc Q 3.3v 0.3dvcc3n 0.3bvcc 1.65v Q dvcc3n Q 3.3v n=0 to 4 1.8v Q bvcc Q 3.3v 0.2dvcc3n 0.2bvcc schmitt-triggered port v il3 1.35v Q dvcc15 Q 1.65v 0.1dvcc15 x1 v il4 1.35v Q cvcc15 Q 1.65v 0.1cvcc low-level input voltage xt1 v il5 1.8v Q bvcc Q 3.3v ? 0.3 0.1cvcc v note1: bvcc normal mode 2.3v to 3.3v,backup mode 1.8v to 3.3v
TMP19A64F20AXBG tmp19a64(rev1.1)4-3 ta 20 to 85 parameter symbol conditions min. typ (note 1) max. unit p7 to p9 (used as a port) v ih1 2.7v Q avcc32Q avcc31Q 3.3v 0.7avcc31 0.7avcc32 1.65v Q dvcc3n Q 3.3v n=0 to 4 normal port v ih2 1.8v Q bvcc Q 3.3v 0.7dvcc3n 0.7bvcc 1.65v Q dvcc3n Q 3.3v n=0 to 4 1.8v Q bvcc Q 3.3v 0.8dvcc3n 0.8bvcc schmitt-triggered port v ih3 1.35v Q dvcc15 Q 1.65v 0.9dvcc15 x1 v ih4 1.35v Q cvccQ 1.65v 0.9cvcc high-level input voltage xt2 v ih4 1.8v Q bvcc Q 3.3v 0.9bvcc dvcc3n + 0. 3 bvcc + 0.3 dvcc15 + 0. 2 cvcc+ 0.2 v i ol = 2ma dvcc3n R 2.7v 0.4 low-level output voltage v ol i ol = 500 a dvcc3n 2.7v 0.2dvcc3n Q0.4 i oh = ? 2ma dvcc3n R 2.7v 2.4 high-level output voltage v oh i oh = ? 500 a dvcc3n 2.7v 0.8dvcc3n v note 1: ta = 25c, dvcc15=1.5v,dvcc3n =3.0v, bvcc=3.0v, avcc3m=3.3v, unless otherwise noted
TMP19A64F20AXBG tmp19a64(rev1.1)4-4 4.3 dc electrical characteristics (2/3) ta 20 to 85 parameter symbol conditions min. typ (note 1) max. unit input leakage current i li 0.0 Q v in Q dvcc15 0.0 Q v in Q bvcc 0.0 Q v in Q dvcc3nn=0 to 4 0.0 Q v in Q avcc31 0.0 Q v in Q avcc32 0.02 5 output leakage current i lo 0.2 Q v in Q dvcc15 ? 0.2 0.2 Q v in Q bvcc ? 0.2 0.2 Q v in Q dvcc3n ? 0.2n=0 to 4 0.2 Q v in Q avcc31 ? 0.2 0.2 Q v in Q avcc32 ? 0.2 0.05 10 a v stop (dvcc15) 1.35 1.65 v stop1 (bvcc) 1.8 3.3 v stop2 (avcc3) v il1 = 0.3avcc31,32 v ih1 = 0.7avcc31,32 2.7 3.6 power-down voltage (stop mode ram backup) v stop3 (dvcc3) v il2 = 0.3dvcc3n, v il3 = 0.1dvcc3n v ih2 = 0.7dvcc3n, v ih3 = 0.9dvcc3n n=0 to 4 1.65 3.3 v pull-up resister at reset rrst dvcc15 = 1.5v 0.15v 20 50 150 k schmitt-triggered port vth 1.65vQdvcc3nQ3.3vn=0 to 4 1.8vQbvccQ3.3v 1.35vQdvcc15Q1.65v 0.3 0.6 v programmable pull-up/ pull-down resistor pkh dvcc3n = 1.65v to 3.3vn=0 to 4 dvcc15 = 1.35v to 1.65v bvcc = 1.8v to 3.3v 20 50 150 k pin capacitance (except power supply pins) c io fc = 1mhz 10 pf note 1: ta = 25c, dvcc15=1.5v,dvcc3n =3.0v, bvcc=3.0v, avcc3m=3.3v, unless otherwise noted
TMP19A64F20AXBG tmp19a64(rev1.1)4-5 4.4 dc electrical characteristics (3/3) dvcc15 cvcc15 fvcc15 1.35v to 1.65v, dvcc3n fvcc3 2.7v to 3.3v, avcc3m 2.7v to 3.3v, bvcc=1.8v to 3.3v ta 20 to 85 n 0 to 4 m 1,2 parameter symbol conditions min. typ. (note 1) max. unit normal (note 2): gear = 1/1 50 60 idle(doze) 18 28 idle(halt) fsys = 54 mhz (fosc = 13.5 mhz, plloff="dvcc15") 14 23 ma slow fsys = 32.768khz (fs 32.768khz ) 300 970 a sleep fsys = 32.768khz (fs 32.768khz ) 100 950 a stop dvcc15 = cvcc15 = 1.35 to 1.65v bvcc 1.8 to 3.3v dvcc3n = 1.65 to 3.3v avcc3m = 2.7 to 3.3v 90 900 a backup icc bvcc 1.8 to 3.3v 3 5 a note 1: ta = 25c, dvcc15=1.5v,dvcc3n =3.0v, bvcc=3.0v, avcc3m=3.3v, unless otherwise noted note 2: measured with the cpu dhrystone operating, all i/o peripherals channel on, and 16-bit external bus operated with 4 system clocks. note 3: the supply current flowing through the dvcc15 bvcc dvcc3n cvcc15 and avcc3m pins is included in the digital supply current parameter (icc).
TMP19A64F20AXBG tmp19a64(rev1.1)4-6 4.5 10-bit adc electrical characteristics dvcc15 = cvcc15 = 1.35v to 1.65v, avcc3m = 2.7v to 3.3v, avss = dvss, ta 20 to 85 parameter symbol conditions min typ max unit 2.7 3.3 analog reference voltage ( + ) vrefh avcc3m ? 0.3 avcc avcc3m + 0.3 v analog reference voltage ( ? ) vrefl avss avss avss + 0 .2 v analog input voltage vain vrefl vrefh v a/d conversion avcc3m = vrefh = 3.0v 0.3v dvss = avss = vrefl 1.15 1.8 ma analog supply current non-a/d conversion iref avcc3m = vrefh = 2.7 to 3.3v dvss = avss = vrefl 0.1 10.0 a analog input capacitance ? 1.0 2.0 pf analog input impedance ? 2.0 3.5 k inl error ? 2 3 lsb dnl error ? 1 3 lsb offset error ? 2 3 lsb gain error ? avcc3m = vrefh = 3.0 v 0.3 v dvss = avss = vrefl ain resistance < 1.3k ain load capacitance < 20 pf avccm load capacitance 10 f vrefh load capacitance 10 f conversion time 7.85 s 2 4 lsb note 1: 1lsb = (vrefh ? vrefl)/1024[v] note 2: the supply current flowing through the avcc 3m pin is included in the digital supply current parameter (icc).
TMP19A64F20AXBG 4.6 ac electrical characteristics 1 separate bus mode (1)dvcc15 cvcc15 fvcc15 1.35v to 1.65v, dvcc3n fvcc3 2.3v to 3.3v syscr3 = ?0?, 2 programmed wait state equation 54 mhz (fsys) unit no. parameter symbol min max min max 1 system clock period (x) t sys 18.5 ns 2 a0-a23 valid to rd , wr or hwr asserted t ac (1+ale)x-20 17 ns 3 a0-a23 hold after rd , wr or hwr negated t car x-14 4.5 ns 4 a0-a23 valid to d0-d15 data in t ad x(2+tw+ale)-42 50.5 ns 5 rd asserted to d0-d15 data in t rd x(1+tw)-28 27.5 ns 6 rd width low t rr x(1+tw)-10 45.5 ns 7 d0-d15 hold after rd negated t hr 0 0 ns 8 negated to next a0-a23 output t rae x-15 3.5 ns rd 9 wr /hwr width low t ww x(1+tw)-10 45.5 ns 10 wr or hwr asserted to d0-d15 valid t do 12.3 12.3 ns 11 d0-d15 hold after wr or hwr negated t dw x(1+tw)-18 37.5 ns 12 d0-d15 hold after wr or hwr negated t wd x ? 1 5 3.5 ns 13 a0-a23 valid to wait input t aw x+(ale)x+(tw-1 )x -30 25.5 ns 14 wait hold after rd , wr or hwr asserted t cw x(tw-3)+7 x(tw-1)-17 25.5 38.5 ns note 1: no. 1 to 13 internal 2 wait insertion ale 1 clock @54mhz tw = (auto wait insertion + 2n) no. 14 conditions (auto wait insertion + 2n) tw = 2 + 2*1 = 4 ac measurement conditions: output levels: high = 0.8dvcc33 v/low 0.2dvcc33 v, cl = 30 pf input levels: high = 0.7dvcc33 v/low 0.3dvcc33 v tmp19a64(rev1.1)4-7
TMP19A64F20AXBG (2) dvcc15 cvcc15 fvcc15 1.35v to 1.65v, dvcc3n fvcc3 1.65v to 1.95v syscr3 = ?0?, 2programmed wait state equation 54 mhz (fsys) unit no. parameter symbol min max min max 1 system clock period (x) t sys 18.5 ns 2 a0-a23 valid to rd , wr or hwr asserted t ac (1+ale)x-20 17 ns 3 a0-a23 hold after rd , wr or hwr negated t car x-7 11.5 ns 4 a0-a23 valid to d0-d15 data in t ad x(2+tw+ale)-42 50.5 ns 5 rd asserted to d0-d15 data in t rd x(1+tw)-28 27.5 ns 6 rd width low t rr x(1+tw)-10 45.5 ns 7 d0-d15 hold after rd negated t hr 0 0 ns 8 negated to next a0-a23 output t rae x-15 3.5 ns rd 9 wr /hwr width low t ww x(1+tw)-10 45.5 ns 10 or hwr asserted to d0-d15 valid t do 12.3 12.3 ns wr 11 d0-d15 hold after wr or hwr negated t dw x(1+tw)-18 37.5 ns 12 d0-d15 hold after wr or hwr negated t wd x ? 1 5 3.5 ns 13 a0-a23 valid to wait input t aw x+(ale)x+(tw-1 )x -30 25.5 ns 14 wait hold after rd , wr or hwr asserted t cw x(tw-3)+7 x(tw-1)-17 25.5 38.5 ns note 1: no. 1 to 13 internal 2 wait insertion ale 1 clock @54mhz tw = (auto wait + 2n) no. 14 conditions (auto wait insertion + 2n) tw = 2 + 2*1 = 4 ac measurement conditions: output levels: high = 0.8dvcc33 v/low 0.2dvcc33 v, cl = 30 pf input levels: high = 0.7dvcc33 v/low 0.3dvcc33 v tmp19a64(rev1.1)4-8
TMP19A64F20AXBG (1) read cycle timing (syscr3 = 0, 1 programmed wait state) t car t rr t hr t ad internal clk rd t ac t rd a0~23 4clk/1bus cycle s1 s2 s0 s1 sw d0 15 d0~15 t rae cs0~3 r/w tmp19a64(rev1.1)4-9
TMP19A64F20AXBG (2) read cycle timing (syscr3 = 1, 1 programmed wait state) t car t rr t hr t ad t ad internalclk rd s1i s1 s2 s0 s1i d0 15 d0~15 t ac t rd a16~23 5clk/1bus cycle sw t rae cs0~3 r/w tmp19a64(rev1.1)4-10
TMP19A64F20AXBG (2) read cycle timing syscr3 = 1, 4 ex ternally generated wait states with n = 1) t aw internal clk rd a0~23 8clk/1bus cycle wait d0~15 d0 15 s1 sw swe sw s2 sw t cw cs0~3 r/w s1i s0 tmp19a64(rev1.1)4-11
TMP19A64F20AXBG (4) write cycle timing (syscr3 = 1, zero wait sate) t ww t car t dw internal clk wr, hwr cs0~3 r/w t ac a0~23 4clk/1bus cycle t wd d0 15 d0~15 t do tmp19a64(rev1.1)4-12
TMP19A64F20AXBG 2 multiplex bus mode (1) dvcc15 cvcc15 fvcc15 1.35v to 1.65v, dvcc3n fvcc3 2.3v to 3.3v 1. ale width = 1 clock cycle, 2 programmed wait state equation 54 mhz (fsys) unit no. parameter symbo l min max min max 1 system clock period (x) t sys 18.5 ns 2 a0-a15 valid to ale low t al (ale)x-12 6.5 ns 3 a0-a15 hold after ale low t la x-8 10.5 ns 4 ale pulse width high t ll (ale)x-6 12.5 ns 5 ale low to rd , wr or hwr asserted t lc x-8 10.5 ns 6 rd , wr or hwr negated to ale high t cl x-15 3.5 ns 7 a0-a15 valid to rd , wr or hwr asserted t acl 2x-20 17.0 ns 8 a16-a23 valid to rd , wr or hwr asserted t ach 2x-20 17.0 ns 9 a16-a23 hold after rd , wr or hwr negated t car x-14 4.5 ns 10 a0-a15 valid to d0-d15 data in t adl x(2+tw+ale)-42 50.5 ns 11 a16-a23 valid to d0-d15 data in t adh x(2+tw+ale)-42 50.5 ns 12 r d asserted to d0-d15 data in t rd x(1+tw)-28 27.5 ns 13 r d width low t rr x(1+tw)-10 45.5 ns 14 d0-d15 hold after rd negated t hr 0 0 ns 15 rd negated to next a0-a15 output t rae x-15 3.5 ns 16 wr / hwr width low t ww x(1+tw)-10 45.5 ns 17 d0-d15 valid to wr or hwr negated t dw x(1+tw)-18 37.5 ns 18 d0-d15 hold after wr or hwr negated t wd x-15 3.5 ns 19 a16-a23 valid to wait input t awh x+(ale)x+(tw-1)x-3 0 25.5 ns 20 a0-a15 valid to wait input t awl x+(ale)x+(tw-1)x-3 0 25.5 ns 21 wait hold after rd , wr or hwr asserted t cw x(tw-3)+7 x(tw-1)-17 25.5 38.5 ns note 1: no. 1 to 20 internal 2 wait insertion ale 1 clock @54mhz tw = (auto wait insertion + 2n) no. 21 conditions (auto wait + 2n) tw = 2 + 2*1 = 4 ac measurement conditions: output levels: high = 0.8dvcc33 v/low 0.2dvcc33 v, cl = 30 pf tmp19a64(rev1.1)4-13
TMP19A64F20AXBG input levels: high = 0.7dvcc33 v/low 0.3dvcc33 v (2) dvcc15 cvcc15 fvcc15 1.35v to 1.65v, dvcc3n fvcc3 1.65v to 1.95v ale width = 1 clock cycles, 2 programmed wait state equation 54 mhz (fsys) unit no. parameter symbo l min max min max 1 system clock period (x) t sys 18.5 ns 2 a0-a15 valid to ale low t al (ale)x-12 6.5 ns 3 a0-a15 hold after ale low t la x-8 10.5 ns 4 ale pulse width high t ll (ale)x-6 12.5 ns 5 ale low to rd , wr or hwr asserted t lc x-8 10.5 ns 6 rd , wr or hwr negated to ale high t cl x-15 3.5 ns 7 a0-a15 valid to rd , wr or hwr asserted t acl 2x-20 17.0 ns 8 a16-a23 valid to rd , wr or hwr asserted t ach 2x-20 17.0 ns 9 a16-a23 hold after rd , wr or hwr negated t car x-7 11.5 ns 10 a0-a15 valid to d0-d15 data in t adl x(2+tw+ale)-42 50.5 ns 11 a16-a23 valid to d0-d15 data in t adh x(2+tw+ale)-42 50.5 ns 12 r d asserted to d0-d15 data in t rd x(1+tw)-28 27.5 ns 13 r d width low t rr x(1+tw)-10 45.5 ns 14 d0-d15 hold after rd negated t hr 0 0 ns 15 rd negated to next a0-a15 output t rae x-15 3.5 ns 16 wr / hwr width low t ww x(1+tw)-10 45.5 ns 17 d0-d15 valid to wr or hwr negated t dw x(1+tw)-18 37.5 ns 18 d0-d15 hold after wr or hwr negated t wd x-15 3.5 ns 19 a16-a23 valid to wait input t awh x+(ale)x+(tw-1)x-3 0 25.5 ns 20 a0-a15 valid to wait input t awl x+(ale)x+(tw-1)x-3 0 25.5 ns 21 wait hold after rd , wr or hwr asserted t cw x(tw-3)+7 x(tw-1)-17 25.5 38.5 ns note 1: no. 1 to 20 internal 2 wait insertion ale 1 clock @54mhz tw = (auto insert wait + 2n) no. 21 conditions (auto 2 waits insertion + 2n) tw = 2 + 2*1 = 4 ac measurement conditions: output levels: high = 0.8dvcc33 v/low 0.2dvcc33 v, cl = 30 pf tmp19a64(rev1.1)4-14
TMP19A64F20AXBG input levels: high = 0.7dvcc33 v/low 0.3dvcc33 v (1) read cycle timing, ale width = 1 cl ock cycle, 1 programmed wait state t car t rr t hr t adh t adl t la d0 15 t al t cl t ll ale internal clk ad0~15 rd a0 15 t acl t ach t lc t rd a16~23 5clk/1bus cycle s1i s2 s3 s1 w1 t rae cs0~3 r/w s1 s2 s0 s1i sw tmp19a64(rev1.1)4-15
TMP19A64F20AXBG (2) read cycle timing, ale width = 1 cl ock cycle, 2 programmed wait state t car t rr t hr t adh t adl t la d0 15 t al t cl t ll ale internal clk ad0~1 5 rd a0 15 t acl t ach t lc t rd a16~2 3 6clk/1bus cycle t rae cs0~3 r/w tmp19a64(rev1.1)4-16
TMP19A64F20AXBG (3) read cycle timing, ale width = 1 cl ock cycle, 4 programmed wait state t awl/h ale internal clk ad0~15 rd a d16~23 8clk/1bus cycle wait d0 15 a0 15 t cw cs0~3 r/w tmp19a64(rev1.1)4-17
TMP19A64F20AXBG (4) read cycle timing, ale width = 2 cl ock cycle, 1 programmed wait state t rr t hr t adh t adl t la d0 15 t al t cl t ll ale internal clk ad0~15 rd s1i s1x sw s2 s0 a0 15 t acl t ach t lc t rd a16~23 6clk/1bus cycle s1 t rae cs0~3 r/w s1i tmp19a64(rev1.1)4-18
TMP19A64F20AXBG (5) read cycle timing, ale width = 2 cl ock cycle, 4 programmed wait state t awl/h ale internal clk ad0~15 rd ad16~23 9clk/1bus cycle wait d0 15 s1x s1 sw swex s0 a0 15 sw t cw cs0~3 r/w sw s2 s1x tmp19a64(rev1.1)4-19
TMP19A64F20AXBG (6) write cycle timing, ale width = 2 clock cycles, zero wait state t ww t car t dw t la d0 15 t al t cl t ll ale internal clk ad0~15 wr, hwr cs0~3 r/w a0 15 t acl t ach t lc ad16~23 5clk/1bus cycle t wd tmp19a64(rev1.1)4-20
TMP19A64F20AXBG (7) write cycle timing, ale width = 1 clock cycles, 2 wait state t ww t car t dw t la d0 15 t al t cl t ll al e internal clk ad0~1 5 wr, hwr cs0~ 3 r/ w a0 15 t acl t ach t lc ad16~2 3 6clk/1bus cycle t wd tmp19a64(rev1.1)4-21
TMP19A64F20AXBG (8) write cycle timing, ale width = 2 clock cycles, 4 wait state ale internal clk ad0~1 5 wr, hwr cs0~3 r/w ad16~2 3 9clk/1bus cycle t ww t car t dw t la d0 15 t al t cl t ll a0 15 t acl t ach t lc t wd wait t cw t awl/h tmp19a64(rev1.1)4-22
TMP19A64F20AXBG 4.7 transfer with dma request the following shows an example of a transfer between the on-chip ram and an external device in multiplex bus mode. ? 16-bit data bus width, non-recovery time ? level data transfer mode ? transfer size of 16 bits, devi ce port size (dps) of 16 bits ? source/destination: on-chip ram/external device the following shows transfer operation timing of the on-chip ram to an external bus during write operation (memory-to-memory transfer). gclkin dreqn a le hwr lwr a d[15:0] n transfer (n-1) transfer (n+1) transfe cs tdreq_w tdreq_w r/w a dd a dd a dd data data data gack 2clk 2clk ??? gbstart tdreq_r tdreq_r internal clock (1) indicates the condition under which nth transfer is performed successfully. (2) indicates the condition under which (n + 1)th transfer is not performed. tmp19a64(rev1.1)4-23
TMP19A64F20AXBG (1) dvcc15 cvcc15 fvcc15 1.35v to 1.65v, avcc3m fvcc3 2.7v to 3.3v dvcc33 2.3v to 3.3v, dvcc30/31/32/34 1.65v to 3.3v, ta 20 to 85 c m 1 to 2 equation 54 mhz (fsys) unit no. parameter symbol (1)min (2)max min max 2 rd asserted to dreqn negated (external device to on-chip ram transfer) tdreq_r w+1x 2wale8x 51 37 152.5 ns 3 wr / hwr rising to dreqn negated (on-chip ram to external device transfer) tdreq_w -(w+2)x 5+waitx51.8 -55.5 59.2 ns (2) dvcc15 cvcc15 fvcc15 1.35v to 1.65v, avcc3m =fvcc3 2.7v to 3.3v dvcc33 1.65v to 1.95v, dvcc30/31/32/34 1.65v to 3.3v, ta 20 to 85 c m 1 to 2 equation 54 mhz (fsys) unit no. parameter symbol (1)min (2)max min max 2 rd asserted to dreqn negated (external device to on-chip ram transfer) tdreq_r w+1 x 2w ale 8 x 56 37 147.5 ns 3 wr / hwr rising to dreqn negated (on-chip ram to external device transfer) tdreq_w -(w+2)x 5+waitx56.8 -55.5 54.2 ns w: number of wait-state cycles inserted. in the case of (2 + n) externally generated wait states with n = 1, w becomes 4 ale: apply ale = ale 1 clock, ale = 1 for ale 2 clock. the values in the above table are obtained with w = 1, ale = 1. tmp19a64(rev1.1)4-24
TMP19A64F20AXBG 4.8 serial channel timing (1) i/o interface mode (dvcc3n = 1.65v to 3.3v) in the table below, the letter x represents the fsys cycle period, which varies depending on the programming of the clock gear function. (1) sclk input mode (sio0 to sio6) equation 54 mhz parameter symbol min max min max unit sclk period t scy 12x 222 ns sclk clock high width(input) tsch 6x 111 ns sclk clock low width (input) tscl 6x 111 ns txd data to sclk rise or fall * t oss 2x-30 6 ns txd data hold after sclk rise or fall * t ohs 8x-15 129 ns rxd data valid to sclk rise or fall * t srd 30 30 ns rxd data hold after sclk rise or fall * t hsr 2x+30 66 ns * sclk rise or fall: measured relative to the programmed active edge of sclk. 2. sclk output mode (sio0 to sio6) equation 54 mhz parameter symbol min max min max unit sclk period t scy 8x 222 ns txd data to sclk rise or fall * t oss 4x-10 62 ns txd data hold after sclk rise or fall * t ohs 4x-10 62 ns rxd data valid to sclk rise or fall * t srd 45 45 ns rxd data hold after sclk rise or fall * t hsr 0 0 ns output data txd input data rxd sclk sck output mode/ active-high scl input mod 0 valid t oss t scy t ohs 1 2 3 t srd t hsr 0 1 2 3 valid valid valid sclk active-low sck input mode tmp19a64(rev1.1)4-25
TMP19A64F20AXBG 4.9 sbi timing (1) i2c mode in the table below, the letters x repr esent the fsys periods, respectively. n denotes the value of n programmed into the sck (scl output frequency select) field in the sbi0cr1. equation standard mode fast mode parameter symbol min max min max min max unit scl clock frequency t sc 0 0 100 0 400 khz hold time for start condition t hd:sta 4.0 0.6 s scl clock low width (input) (note 1) t low 4.7 1.3 s scl clock high width (output) (note 2) t high 4.0 0.6 s setup time for a repeated start condition t su;sta (note 5) 4.7 0.6 s data hold time (input) (note 3, 4) t hd;dat 0.0 0.0 s data setup time t su;dat 250 100 ns setup time for stop condition t su;sto 4.0 0.6 s bus free time between stop and start conditions t buf (note 5) 4.7 1.3 s note 1: scl clock low width (output) is calculated with : (2 n-1 +58)/(fsys/2) note 2: scl clock high width (output) is calculated with (2 n-1 +12)/(fsys/2) notice: on i 2 c-bus specification, maximum speed of standard mode is 100khz ,fast mode is 400khz. internal scl clock frequency setti ng should be shown above note1 & note2. note 3: the output data hold time is equal to 12x note 4: the philips i 2 c-bus specification states t hat a device must internally provide a hold time of at least 300 ns for the sda signal to bridge the undefined region of the fall edge of scl. however, the 19a64 sbi does not satisfy this requirement. also, the output buffer for scl does not incorporate slope control of the falli ng edges; therefore, the equipment manufacturer should design so that the input data hold time sh own in the table is satisfied, including tr/tf of the scl and sda lines. note 5: software-dependent sda scl t low t hd;sta t scl t high t r t su;dat t hd;dat t su;sta t su;sto t buf s: start condition sr: repeated start condition p: stop condition t f s sr p tmp19a64(rev1.1)4-26
TMP19A64F20AXBG (2) clock-synchronous 8-bit sio mode in the tables below, the letters x represent t he fsys cycle periods, respectively. the letter n denotes the value of n programmed into the sck (scl output frequency select) field in the sbi0cr1. the electrical specifications below are for an sck signal with a 50% duty cycle. sck input mode equation 54 mhz parameter symbol min max min max unit sck period t scy 16x 296 ns so data to sck rise t oss (t scy /2) ? ( 6 x + 3 0 ) 7 ns so data hold after sck rise t ohs (t scy /2) + 4x 222 ns si data valid to sck rise t srd 0 0 ns si data hold after sck rise t hsr 4x + 10 84 ns sck output mode equation 54 mhz parameter symbol min max min max unit sck period (programmable) t scy 16x 296 ns so data to sck rise t oss (t scy /2) ? 20 128 ns so data hold after sck rise t ohs (t scy /2) ? 20 128 ns si data valid to sck rise t srd 2x + 30 67 ns si data hold after sck rise t hsr 0 0 ns output data txd input data txd sclk 0 valid t oss t scy t ohs 1 2 3 t srd t hsr 0 1 2 3 valid valid valid tmp19a64(rev1.1)4-27
TMP19A64F20AXBG 4.10 event counter in the table below, the letter x represents the fsys cycle period. equation 54 mhz parameter symbol min max min max unit clock low pulse width t vckl 2x + 100 137 ns clock high pulse width t vckh 2x + 100 137 ns 4.11 timer capture in the table below, the letter x represents the fsys cycle period. equation 54 mhz parameter symbol min max min max unit low pulse width t cpl 2x + 100 137 ns high pulse width t cph 2x + 100 137 ns 4.12 general interrupts in the table below, the letter x represents the fsys cycle period. equation 54 mhz parameter symbol min max min max unit low pulse width for int0-inta t intal x + 100 118.5 ns high pulse width for int0-inta t intah x + 100 118.5 ns 4.13 nmi and stop /sleep wake-up interrupts equation 54 mhz parameter symbol min max min max unit low pulse width for nmi and int0-int4 t intbl 100 100 ns high pulse width for int0-int4 t intbh 100 100 ns 4.14 scout pin equation 54 mhz parameter symbol min max min max unit clock high pulse width t sch 0.5t ? 5 4.25 ns clock low pulse width t scl 0.5t ? 5 4.25 ns note: in the above table, the letter t represent s the cycle period of t he scout output clock. t sch t scl scout tmp19a64(rev1.1)4-28
TMP19A64F20AXBG 4.15 bus request and bus acknowledge signals t aba (note1) busrq a le a 0~a23, rd , wr busak cs0 ~ cs3 , w/r , hwr a d0~ad15 t baa (note2) (note2) equation 54 mhz parameter symbol min max min max unit bus float to busak asserted t aba 0 80 0 80 ns bus float after busak negated t baa 0 80 0 80 ns note 1: if the current bus cycle has not terminated due to wait-state insertion, the tmp19a64f20bxbg does not respond to busrq until the wait state ends. note 2: this broken line indicates that output buffers are disabled, not that the signals are at indeterminate states. the pin holds the last logic value present at that pin before the bus is relinqu ished. this is dynamically accomplished through external load capacitances. the equipment manufacturer may maintain the bus at a predefined state by means of off-chip restores, but he or she should design, considering the time (determined by the cr constant) it takes for a signal to reach a des ired state. the on-chip, integrated programmable pullup/pulldown resistors remain active, depending on internal signal states. tmp19a64(rev1.1)4-29
TMP19A64F20AXBG 4.16 kwup input pull-up register active equation 54 mhz parameter symbol min max min max unit low pulse width for key0-d tky tbl x+100 118 ns high pulse width for key0-d tky tbh x+100 118 ns 4.17 dual pulse input equation 54 mhz parameter symbol min max min max unit dual input pulse period tdcyc 8y 296 ns dual input pulse setup tabs y20 57 ns dual input pulse hold tabh y20 57 ns y: sampling clock (fsys/2) tabs tdc y c tabh a b tmp19a64(rev1.1)4-30


▲Up To Search▲   

 
Price & Availability of TMP19A64F20AXBG

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X